diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:40:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:40:04 -0500 |
commit | 574009c1a895aeeb85eaab29c235d75852b09eb8 (patch) | |
tree | 350208723aea3fa62927e5fed6c07567cee9f930 /include/asm-mips | |
parent | a727fea99bf4b2addcd64c596735148117a7b37f (diff) | |
parent | e692eb30ffc2b99e62f766f9958f46dfdc1013cc (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] signal: do not inline handle_signal()
[MIPS] signal: do not use save_static_function() anymore
[MIPS] signal32: no need to save c0_status register in setup_sigcontext32()
[MIPS] signal32: reduce {setup,restore}_sigcontext32 sizes
[MIPS] signal: factorize debug code
[MIPS] signal: test return value of install_sigtramp()
[MIPS] signal32: remove duplicate code
[MIPS] signal: clean up sigframe structure
[MIPS] signal: do not inline functions in signal-common.h
[MIPS] signals: reduce {setup,restore}_sigcontext sizes
[MIPS] Fix warning in get_user when fetching pointer object from userspace.
[MIPS] Fix eth2 platform device id for jaguar_atx and ocelot_3 platforms
[MIPS] JMR3927 and RBTX49x7 support little endian
[MIPS] RBTX49x7: declare prom_getcmdline()
[MIPS] RTLX: Sprinkle device model code into code to make udev happier.
[MIPS] VPE: Sprinkle device model code into code to make udev happier.
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/mips_mt.h | 3 | ||||
-rw-r--r-- | include/asm-mips/sigcontext.h | 4 | ||||
-rw-r--r-- | include/asm-mips/uaccess.h | 5 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-mips/mips_mt.h b/include/asm-mips/mips_mt.h index c31a312b9783..fdfff0b8ce42 100644 --- a/include/asm-mips/mips_mt.h +++ b/include/asm-mips/mips_mt.h | |||
@@ -12,4 +12,7 @@ extern unsigned long mt_fpemul_threshold; | |||
12 | extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value); | 12 | extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value); |
13 | extern void mips_mt_set_cpuoptions(void); | 13 | extern void mips_mt_set_cpuoptions(void); |
14 | 14 | ||
15 | struct class; | ||
16 | extern struct class *mt_class; | ||
17 | |||
15 | #endif /* __ASM_MIPS_MT_H */ | 18 | #endif /* __ASM_MIPS_MT_H */ |
diff --git a/include/asm-mips/sigcontext.h b/include/asm-mips/sigcontext.h index cefa657dd04a..3c175a7e4345 100644 --- a/include/asm-mips/sigcontext.h +++ b/include/asm-mips/sigcontext.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | struct sigcontext { | 20 | struct sigcontext { |
21 | unsigned int sc_regmask; /* Unused */ | 21 | unsigned int sc_regmask; /* Unused */ |
22 | unsigned int sc_status; | 22 | unsigned int sc_status; /* Unused */ |
23 | unsigned long long sc_pc; | 23 | unsigned long long sc_pc; |
24 | unsigned long long sc_regs[32]; | 24 | unsigned long long sc_regs[32]; |
25 | unsigned long long sc_fpregs[32]; | 25 | unsigned long long sc_fpregs[32]; |
@@ -76,7 +76,7 @@ struct sigcontext { | |||
76 | 76 | ||
77 | struct sigcontext32 { | 77 | struct sigcontext32 { |
78 | __u32 sc_regmask; /* Unused */ | 78 | __u32 sc_regmask; /* Unused */ |
79 | __u32 sc_status; | 79 | __u32 sc_status; /* Unused */ |
80 | __u64 sc_pc; | 80 | __u64 sc_pc; |
81 | __u64 sc_regs[32]; | 81 | __u64 sc_regs[32]; |
82 | __u64 sc_fpregs[32]; | 82 | __u64 sc_fpregs[32]; |
diff --git a/include/asm-mips/uaccess.h b/include/asm-mips/uaccess.h index c12ebc53ef31..825fcbd9eabd 100644 --- a/include/asm-mips/uaccess.h +++ b/include/asm-mips/uaccess.h | |||
@@ -265,8 +265,6 @@ do { \ | |||
265 | */ | 265 | */ |
266 | #define __get_user_asm_ll32(val, addr) \ | 266 | #define __get_user_asm_ll32(val, addr) \ |
267 | { \ | 267 | { \ |
268 | unsigned long long __gu_tmp; \ | ||
269 | \ | ||
270 | __asm__ __volatile__( \ | 268 | __asm__ __volatile__( \ |
271 | "1: lw %1, (%3) \n" \ | 269 | "1: lw %1, (%3) \n" \ |
272 | "2: lw %D1, 4(%3) \n" \ | 270 | "2: lw %D1, 4(%3) \n" \ |
@@ -281,9 +279,8 @@ do { \ | |||
281 | " " __UA_ADDR " 1b, 4b \n" \ | 279 | " " __UA_ADDR " 1b, 4b \n" \ |
282 | " " __UA_ADDR " 2b, 4b \n" \ | 280 | " " __UA_ADDR " 2b, 4b \n" \ |
283 | " .previous \n" \ | 281 | " .previous \n" \ |
284 | : "=r" (__gu_err), "=&r" (__gu_tmp) \ | 282 | : "=r" (__gu_err), "=&r" (val) \ |
285 | : "0" (0), "r" (addr), "i" (-EFAULT)); \ | 283 | : "0" (0), "r" (addr), "i" (-EFAULT)); \ |
286 | (val) = (__typeof__(*(addr))) __gu_tmp; \ | ||
287 | } | 284 | } |
288 | 285 | ||
289 | /* | 286 | /* |