diff options
Diffstat (limited to 'arch/frv/include/asm')
-rw-r--r-- | arch/frv/include/asm/bug.h | 5 | ||||
-rw-r--r-- | arch/frv/include/asm/init.h | 12 | ||||
-rw-r--r-- | arch/frv/include/asm/unistd.h | 4 |
3 files changed, 6 insertions, 15 deletions
diff --git a/arch/frv/include/asm/bug.h b/arch/frv/include/asm/bug.h index 6b1b44d71028..2e054508a2f6 100644 --- a/arch/frv/include/asm/bug.h +++ b/arch/frv/include/asm/bug.h | |||
@@ -30,7 +30,7 @@ extern void __debug_bug_printk(const char *file, unsigned line); | |||
30 | do { \ | 30 | do { \ |
31 | __debug_bug_trap(signr); \ | 31 | __debug_bug_trap(signr); \ |
32 | asm volatile("nop"); \ | 32 | asm volatile("nop"); \ |
33 | } while(0) | 33 | } while(1) |
34 | 34 | ||
35 | #define HAVE_ARCH_BUG | 35 | #define HAVE_ARCH_BUG |
36 | #define BUG() \ | 36 | #define BUG() \ |
@@ -46,7 +46,8 @@ do { \ | |||
46 | #define HAVE_ARCH_KGDB_BAD_PAGE | 46 | #define HAVE_ARCH_KGDB_BAD_PAGE |
47 | #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0) | 47 | #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0) |
48 | #endif | 48 | #endif |
49 | #endif | 49 | |
50 | #endif /* CONFIG_BUG */ | ||
50 | 51 | ||
51 | #include <asm-generic/bug.h> | 52 | #include <asm-generic/bug.h> |
52 | 53 | ||
diff --git a/arch/frv/include/asm/init.h b/arch/frv/include/asm/init.h deleted file mode 100644 index 8b15838de216..000000000000 --- a/arch/frv/include/asm/init.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #ifndef _ASM_INIT_H | ||
2 | #define _ASM_INIT_H | ||
3 | |||
4 | #define __init __attribute__ ((__section__ (".text.init"))) | ||
5 | #define __initdata __attribute__ ((__section__ (".data.init"))) | ||
6 | /* For assembly routines */ | ||
7 | #define __INIT .section ".text.init",#alloc,#execinstr | ||
8 | #define __FINIT .previous | ||
9 | #define __INITDATA .section ".data.init",#alloc,#write | ||
10 | |||
11 | #endif | ||
12 | |||
diff --git a/arch/frv/include/asm/unistd.h b/arch/frv/include/asm/unistd.h index edcfaf5f0414..96d78d5d2c41 100644 --- a/arch/frv/include/asm/unistd.h +++ b/arch/frv/include/asm/unistd.h | |||
@@ -339,10 +339,12 @@ | |||
339 | #define __NR_dup3 330 | 339 | #define __NR_dup3 330 |
340 | #define __NR_pipe2 331 | 340 | #define __NR_pipe2 331 |
341 | #define __NR_inotify_init1 332 | 341 | #define __NR_inotify_init1 332 |
342 | #define __NR_preadv 333 | ||
343 | #define __NR_pwritev 334 | ||
342 | 344 | ||
343 | #ifdef __KERNEL__ | 345 | #ifdef __KERNEL__ |
344 | 346 | ||
345 | #define NR_syscalls 333 | 347 | #define NR_syscalls 335 |
346 | 348 | ||
347 | #define __ARCH_WANT_IPC_PARSE_VERSION | 349 | #define __ARCH_WANT_IPC_PARSE_VERSION |
348 | /* #define __ARCH_WANT_OLD_READDIR */ | 350 | /* #define __ARCH_WANT_OLD_READDIR */ |