diff options
| author | Koen Kooi <koen@openembedded.org> | 2008-01-03 09:49:10 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@openembedded.org> | 2008-01-03 09:49:10 +0000 |
| commit | 908e3da2f1abb6ed3214422f9d21bd0b61b6119d (patch) | |
| tree | 3d9049fae19cef48d1bcfbc7435d449d3a469d00 /packages/linux/linux-2.6.18/avr32-unistd-h-move-ifdef-kernel.patch | |
| parent | ee130e36ad7e36888782e3cae07ee9e053af4bd3 (diff) | |
| parent | c491b0c9b2c06239f268cb309083eb21c53e4286 (diff) | |
propagate from branch 'org.openembedded.dev' (head a9cf4a7fde005b20905192e310ca984ba3cbdab4)
to branch 'org.openembedded.dev.avr32' (head f0c1e66a72c6fa23e526d7c159d2d09a4c676d48)
Diffstat (limited to 'packages/linux/linux-2.6.18/avr32-unistd-h-move-ifdef-kernel.patch')
| -rw-r--r-- | packages/linux/linux-2.6.18/avr32-unistd-h-move-ifdef-kernel.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.18/avr32-unistd-h-move-ifdef-kernel.patch b/packages/linux/linux-2.6.18/avr32-unistd-h-move-ifdef-kernel.patch new file mode 100644 index 0000000000..eb16d80b46 --- /dev/null +++ b/packages/linux/linux-2.6.18/avr32-unistd-h-move-ifdef-kernel.patch @@ -0,0 +1,39 @@ +--- + include/asm-avr32/unistd.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +Index: linux-2.6.18-avr32/include/asm-avr32/unistd.h +=================================================================== +--- linux-2.6.18-avr32.orig/include/asm-avr32/unistd.h 2006-11-29 16:49:54.000000000 +0100 ++++ linux-2.6.18-avr32/include/asm-avr32/unistd.h 2006-11-29 16:50:32.000000000 +0100 +@@ -281,6 +281,7 @@ + #define __NR_tee 263 + #define __NR_vmsplice 264 + ++#ifdef __KERNEL__ + #define NR_syscalls 265 + + +@@ -304,7 +305,6 @@ + return (type) (res); \ + } while (0) + +-#ifdef __KERNEL__ + #define __ARCH_WANT_IPC_PARSE_VERSION + #define __ARCH_WANT_STAT64 + #define __ARCH_WANT_SYS_ALARM +@@ -319,7 +319,6 @@ + #define __ARCH_WANT_SYS_GETPGRP + #define __ARCH_WANT_SYS_RT_SIGACTION + #define __ARCH_WANT_SYS_RT_SIGSUSPEND +-#endif + + #if defined(__KERNEL_SYSCALLS__) || defined(__CHECKER__) + +@@ -384,4 +383,6 @@ asmlinkage int sys_execve(char __user *u + */ + #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall"); + ++#endif /* __KERNEL__ */ ++ + #endif /* __ASM_AVR32_UNISTD_H */ |
