diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-11 22:21:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-11 22:21:23 -0400 |
commit | dd6d1844af33acb4edd0a40b1770d091a22c94be (patch) | |
tree | e6bd3549919773a13b770324a4dddb51b194b452 /include/asm-mips/system.h | |
parent | 19f71153b9be219756c6b2757921433a69b7975c (diff) | |
parent | aaf76a3245c02faba51c96b9a340c14d6bb0dcc0 (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: (80 commits)
[MIPS] tlbex.c: Cleanup __init usage.
[MIPS] WRPPMC serial support move to platform device
[MIPS] R1: Fix hazard barriers to make kernels work on R2 also.
[MIPS] VPE: reimplement ELF loader.
[MIPS] cleanup WRPPMC include files
[MIPS] Add BUG_ON assertion for attempt to run kernel on the wrong CPU type.
[MIPS] SMP: Use ISO C struct initializer for local structs.
[MIPS] SMP: Kill useless casts.
[MIPS] Kill num_online_cpus() loops.
[MIPS] SMP: Implement smp_call_function_mask().
[MIPS] Make facility to convert CPU types to strings generally available.
[MIPS] Convert list of CPU types from #define to enum.
[MIPS] Optimize get_unaligned / put_unaligned implementations.
[MIPS] checkfiles: Fix "need space after that ','" errors.
[MIPS] Fix "no space between function name and open parenthesis" warnings.
[MIPS] Allow hardwiring of the CPU type to a single type for optimization.
[MIPS] tlbex: Size optimize code by declaring a few functions inline.
[MIPS] pg-r4k.c: Dump the generated code
[MIPS] Cobalt: Remove cobalt_machine_power_off()
[MIPS] Cobalt: Move reset port definition to arch/mips/cobalt/reset.c
...
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; |