diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-04 12:26:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-04 12:26:44 -0400 |
commit | 190045d53b9a8341e8600d6eb468b6081e903afb (patch) | |
tree | b0fb0e19223f5e293f9fe3028dcac027d9934c47 /include | |
parent | e2baf4ed168589af8224d51f0ac50e65bcdee3f6 (diff) | |
parent | 8c976e34516c9e134488babbb95af182340370c8 (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] VSMP: Fix initialization ordering bug.
[MIPS] Add whitelists for checksyscalls.sh
[MIPS] die(): Properly declare as non-returning
[MIPS] Fix include wrapper symbol definitions in IP32 code.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/mach-ip32/dma-coherence.h | 6 | ||||
-rw-r--r-- | include/asm-mips/ptrace.h | 2 | ||||
-rw-r--r-- | include/asm-mips/unistd.h | 16 |
3 files changed, 20 insertions, 4 deletions
diff --git a/include/asm-mips/mach-ip32/dma-coherence.h b/include/asm-mips/mach-ip32/dma-coherence.h index c3f9a6a20e..a5511ebb2d 100644 --- a/include/asm-mips/mach-ip32/dma-coherence.h +++ b/include/asm-mips/mach-ip32/dma-coherence.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * Copyright (C) 2006 Ralf Baechle <ralf@linux-mips.org> | 6 | * Copyright (C) 2006 Ralf Baechle <ralf@linux-mips.org> |
7 | * | 7 | * |
8 | */ | 8 | */ |
9 | #ifndef __ASM_MACH_IP35_DMA_COHERENCE_H | 9 | #ifndef __ASM_MACH_IP32_DMA_COHERENCE_H |
10 | #define __ASM_MACH_IP35_DMA_COHERENCE_H | 10 | #define __ASM_MACH_IP32_DMA_COHERENCE_H |
11 | 11 | ||
12 | #include <asm/ip32/crime.h> | 12 | #include <asm/ip32/crime.h> |
13 | 13 | ||
@@ -69,4 +69,4 @@ static inline int plat_device_is_coherent(struct device *dev) | |||
69 | return 0; /* IP32 is non-cohernet */ | 69 | return 0; /* IP32 is non-cohernet */ |
70 | } | 70 | } |
71 | 71 | ||
72 | #endif /* __ASM_MACH_IP35_DMA_COHERENCE_H */ | 72 | #endif /* __ASM_MACH_IP32_DMA_COHERENCE_H */ |
diff --git a/include/asm-mips/ptrace.h b/include/asm-mips/ptrace.h index 1906938285..85b4436634 100644 --- a/include/asm-mips/ptrace.h +++ b/include/asm-mips/ptrace.h | |||
@@ -86,7 +86,7 @@ struct pt_regs { | |||
86 | 86 | ||
87 | extern asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit); | 87 | extern asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit); |
88 | 88 | ||
89 | extern NORET_TYPE void die(const char *, struct pt_regs *); | 89 | extern NORET_TYPE void die(const char *, struct pt_regs *) ATTRIB_NORET; |
90 | 90 | ||
91 | static inline void die_if_kernel(const char *str, struct pt_regs *regs) | 91 | static inline void die_if_kernel(const char *str, struct pt_regs *regs) |
92 | { | 92 | { |
diff --git a/include/asm-mips/unistd.h b/include/asm-mips/unistd.h index 59d6fec8fb..ed16de0a63 100644 --- a/include/asm-mips/unistd.h +++ b/include/asm-mips/unistd.h | |||
@@ -977,6 +977,22 @@ | |||
977 | # define __ARCH_WANT_COMPAT_SYS_TIME | 977 | # define __ARCH_WANT_COMPAT_SYS_TIME |
978 | # endif | 978 | # endif |
979 | 979 | ||
980 | /* whitelists for checksyscalls */ | ||
981 | #define __IGNORE_select | ||
982 | #define __IGNORE_vfork | ||
983 | #define __IGNORE_time | ||
984 | #define __IGNORE_uselib | ||
985 | #define __IGNORE_fadvise64_64 | ||
986 | #define __IGNORE_getdents64 | ||
987 | #if _MIPS_SIM == _MIPS_SIM_NABI32 | ||
988 | #define __IGNORE_truncate64 | ||
989 | #define __IGNORE_ftruncate64 | ||
990 | #define __IGNORE_stat64 | ||
991 | #define __IGNORE_lstat64 | ||
992 | #define __IGNORE_fstat64 | ||
993 | #define __IGNORE_fstatat64 | ||
994 | #endif | ||
995 | |||
980 | #endif /* !__ASSEMBLY__ */ | 996 | #endif /* !__ASSEMBLY__ */ |
981 | 997 | ||
982 | /* | 998 | /* |