]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix asm/e820.h for userspace inclusion
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Jul 2008 05:02:27 +0000 (15:02 +1000)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Jul 2008 17:28:48 +0000 (19:28 +0200)
commit9d493719914ada6d44d9fffd9dc2c6cd4fcab840
tree3fea316a13da0898212d34017b7c8945d06592a6
parentec218557c84ca047e71750767fdad48edf82826d
x86: fix asm/e820.h for userspace inclusion

asm-x86/e820.h is included from userspace.  'x86: make e820.c to have
common functions' (07d636e4d039f36bb235044ae83c1265b75b7f37) broke it:

make -C Documentation/lguest
cc -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include
lguest.c  -lz -o lguest
In file included from ../../include/asm-x86/bootparam.h:8,
                 from lguest.c:45:
../../include/asm/e820.h:66: error: expected ‘)’ before ‘start’
../../include/asm/e820.h:67: error: expected ‘)’ before ‘start’
../../include/asm/e820.h:68: error: expected ‘)’ before ‘start’
../../include/asm/e820.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘e820_update_range’
...

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/e820.h