uml: bad macro expansion, parameter is member
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 16 Jun 2009 22:33:32 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:47 +0000 (19:47 -0700)
commitb08cd961cc3869e14d841a3ed1641f47b11348f3
treee7c323fbfd938c9c07810367d1a6260c7ecf6f29
parent276c974ac7965e7335f0f4ab945729d8f30f11b5
uml: bad macro expansion, parameter is member

`ELF_CORE_COPY_REGS(x, y)' will make expansions like:
`(y)[0] = (x)->x.gp[0]' but correct is `(y)[0] = (x)->regs.gp[0]'

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: WANG Cong <amwang@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/sys-x86_64/asm/elf.h