Hi Atle,
Atle Nissestad wrote:
Fixes for syscall warnings
Signed-off-by: Atle Nissestad <[EMAIL PROTECTED]>
Applied, thanks.
Regards
Greg
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/syscalltable.S
b/linux-2.6.x/arch/nios2nommu/kernel/syscalltable.S
index 3507e24..297c468 100644
--- a/linux-2.6.x/arch/nios2nommu/kernel/syscalltable.S
+++ b/linux-2.6.x/arch/nios2nommu/kernel/syscalltable.S
@@ -355,8 +355,9 @@ ENTRY(sys_call_table)
.long sys_eventfd
.long sys_pread64
.long sys_pwrite64 /* 321 */
+ .long sys_fallocate
- .rept NR_syscalls - 322
+ .rept NR_syscalls - 323
.long sys_ni_syscall
.endr
diff --git a/linux-2.6.x/include/asm-nios2nommu/unistd.h b/linux-2.6.x/include/asm-nios2nommu/unistd.h
index 43cd165..fe66f49 100644
--- a/linux-2.6.x/include/asm-nios2nommu/unistd.h
+++ b/linux-2.6.x/include/asm-nios2nommu/unistd.h
@@ -355,9 +355,14 @@
#define __NR_eventfd 319
#define __NR_pread64 320
#define __NR_pwrite64 321
+#define __NR_fallocate 322
+
+#define NR_syscalls 323
+
+/* Not relevant on no-mmu */
+#define __IGNORE_msync
#ifdef __KERNEL__
-#define NR_syscalls 322
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev