diff options
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r-- | include/asm-mips/system.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 480b574e2483..90e4b403f531 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h | |||
@@ -62,7 +62,7 @@ do { \ | |||
62 | #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) | 62 | #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | #define switch_to(prev,next,last) \ | 65 | #define switch_to(prev, next, last) \ |
66 | do { \ | 66 | do { \ |
67 | __mips_mt_fpaff_switch_to(prev); \ | 67 | __mips_mt_fpaff_switch_to(prev); \ |
68 | if (cpu_has_dsp) \ | 68 | if (cpu_has_dsp) \ |
@@ -193,13 +193,13 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz | |||
193 | return x; | 193 | return x; |
194 | } | 194 | } |
195 | 195 | ||
196 | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) | 196 | #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) |
197 | 197 | ||
198 | extern void set_handler (unsigned long offset, void *addr, unsigned long len); | 198 | extern void set_handler(unsigned long offset, void *addr, unsigned long len); |
199 | extern void set_uncached_handler (unsigned long offset, void *addr, unsigned long len); | 199 | extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len); |
200 | 200 | ||
201 | typedef void (*vi_handler_t)(void); | 201 | typedef void (*vi_handler_t)(void); |
202 | extern void *set_vi_handler (int n, vi_handler_t addr); | 202 | extern void *set_vi_handler(int n, vi_handler_t addr); |
203 | 203 | ||
204 | extern void *set_except_vector(int n, void *addr); | 204 | extern void *set_except_vector(int n, void *addr); |
205 | extern unsigned long ebase; | 205 | extern unsigned long ebase; |