[-mm patch] fix include/asm-xtensa/unistd.h compilation

Adrian Bunk
2006-12-02T17:54:54Z

<-- snip -->

...
In file included from
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc6-mm2/include/linux/unistd.h:7,
from
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc6-mm2/init/main.c:46:
include2/asm/unistd.h:235:2: error: #endif without #if
make[2]: *** [init/main.o] Error 1

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.19-rc6-mm2/include/asm-xtensa/unistd.h.old 2006-12-02 18:32:53.000000000 +0100
+++ linux-2.6.19-rc6-mm2/include/asm-xtensa/unistd.h 2006-12-02 18:35:01.000000000 +0100
@@ -218,6 +218,8 @@

#define SYSXTENSA_COUNT 5 /* count of syscall0 functions*/

+#ifdef __KERNEL__
+
/*
* "Conditional" syscalls
*