diff options
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/bug.h | 3 | ||||
-rw-r--r-- | include/asm-sparc/errno.h | 4 | ||||
-rw-r--r-- | include/asm-sparc/signal.h | 8 | ||||
-rw-r--r-- | include/asm-sparc/uaccess.h | 2 |
4 files changed, 8 insertions, 9 deletions
diff --git a/include/asm-sparc/bug.h b/include/asm-sparc/bug.h index 0d30a67d87a3..04151208189f 100644 --- a/include/asm-sparc/bug.h +++ b/include/asm-sparc/bug.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _SPARC_BUG_H | 1 | #ifndef _SPARC_BUG_H |
2 | #define _SPARC_BUG_H | 2 | #define _SPARC_BUG_H |
3 | 3 | ||
4 | #ifdef CONFIG_BUG | ||
4 | /* Only use the inline asm until a gcc release that can handle __builtin_trap | 5 | /* Only use the inline asm until a gcc release that can handle __builtin_trap |
5 | * -rob 2003-06-25 | 6 | * -rob 2003-06-25 |
6 | * | 7 | * |
@@ -26,6 +27,8 @@ extern void do_BUG(const char *file, int line); | |||
26 | #endif | 27 | #endif |
27 | 28 | ||
28 | #define HAVE_ARCH_BUG | 29 | #define HAVE_ARCH_BUG |
30 | #endif | ||
31 | |||
29 | #include <asm-generic/bug.h> | 32 | #include <asm-generic/bug.h> |
30 | 33 | ||
31 | #endif | 34 | #endif |
diff --git a/include/asm-sparc/errno.h b/include/asm-sparc/errno.h index 8c01c5f3b06d..ed41c8bac1fa 100644 --- a/include/asm-sparc/errno.h +++ b/include/asm-sparc/errno.h | |||
@@ -107,4 +107,8 @@ | |||
107 | #define EKEYREVOKED 130 /* Key has been revoked */ | 107 | #define EKEYREVOKED 130 /* Key has been revoked */ |
108 | #define EKEYREJECTED 131 /* Key was rejected by service */ | 108 | #define EKEYREJECTED 131 /* Key was rejected by service */ |
109 | 109 | ||
110 | /* for robust mutexes */ | ||
111 | #define EOWNERDEAD 132 /* Owner died */ | ||
112 | #define ENOTRECOVERABLE 133 /* State not recoverable */ | ||
113 | |||
110 | #endif | 114 | #endif |
diff --git a/include/asm-sparc/signal.h b/include/asm-sparc/signal.h index d8211cb6e6b4..f792e10e704f 100644 --- a/include/asm-sparc/signal.h +++ b/include/asm-sparc/signal.h | |||
@@ -143,7 +143,6 @@ struct sigstack { | |||
143 | #define SA_ONESHOT _SV_RESET | 143 | #define SA_ONESHOT _SV_RESET |
144 | #define SA_INTERRUPT 0x10u | 144 | #define SA_INTERRUPT 0x10u |
145 | #define SA_NOMASK 0x20u | 145 | #define SA_NOMASK 0x20u |
146 | #define SA_SHIRQ 0x40u | ||
147 | #define SA_NOCLDWAIT 0x100u | 146 | #define SA_NOCLDWAIT 0x100u |
148 | #define SA_SIGINFO 0x200u | 147 | #define SA_SIGINFO 0x200u |
149 | 148 | ||
@@ -162,11 +161,6 @@ struct sigstack { | |||
162 | 161 | ||
163 | #ifdef __KERNEL__ | 162 | #ifdef __KERNEL__ |
164 | /* | 163 | /* |
165 | * These values of sa_flags are used only by the kernel as part of the | ||
166 | * irq handling routines. | ||
167 | * | ||
168 | * SA_INTERRUPT is also used by the irq handling routines. | ||
169 | * | ||
170 | * DJHR | 164 | * DJHR |
171 | * SA_STATIC_ALLOC is used for the SPARC system to indicate that this | 165 | * SA_STATIC_ALLOC is used for the SPARC system to indicate that this |
172 | * interrupt handler's irq structure should be statically allocated | 166 | * interrupt handler's irq structure should be statically allocated |
@@ -177,8 +171,6 @@ struct sigstack { | |||
177 | * statically allocated data.. which is NOT GOOD. | 171 | * statically allocated data.. which is NOT GOOD. |
178 | * | 172 | * |
179 | */ | 173 | */ |
180 | #define SA_PROBE SA_ONESHOT | ||
181 | #define SA_SAMPLE_RANDOM SA_RESTART | ||
182 | #define SA_STATIC_ALLOC 0x80 | 174 | #define SA_STATIC_ALLOC 0x80 |
183 | #endif | 175 | #endif |
184 | 176 | ||
diff --git a/include/asm-sparc/uaccess.h b/include/asm-sparc/uaccess.h index 3f47889883b7..f461144067ee 100644 --- a/include/asm-sparc/uaccess.h +++ b/include/asm-sparc/uaccess.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifndef __ASSEMBLY__ | 19 | #ifndef __ASSEMBLY__ |
20 | 20 | ||
21 | /* Sparc is not segmented, however we need to be able to fool verify_area() | 21 | /* Sparc is not segmented, however we need to be able to fool access_ok() |
22 | * when doing system calls from kernel mode legitimately. | 22 | * when doing system calls from kernel mode legitimately. |
23 | * | 23 | * |
24 | * "For historical reasons, these macros are grossly misnamed." -Linus | 24 | * "For historical reasons, these macros are grossly misnamed." -Linus |