diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-13 23:52:56 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:36 -0400 |
commit | e08f457c7c0cc7720f28349f8780ea752c063441 (patch) | |
tree | 7b82666f2002d57dc57d022daf90c778265159e9 /include/asm-sh/system.h | |
parent | 7a302a9674593259866de4a9d5ae8edc03dc1934 (diff) |
sh: __user annotations for __get/__put_user().
This adds in some more __user annotations. These weren't being
handled properly in some of the __get_user and __put_user paths,
so tidy those up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/system.h')
-rw-r--r-- | include/asm-sh/system.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 82f3e229e621..fb22fc3f87ad 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h | |||
@@ -8,9 +8,13 @@ | |||
8 | 8 | ||
9 | #include <linux/irqflags.h> | 9 | #include <linux/irqflags.h> |
10 | #include <linux/compiler.h> | 10 | #include <linux/compiler.h> |
11 | #include <linux/linkage.h> | ||
11 | #include <asm/types.h> | 12 | #include <asm/types.h> |
12 | #include <asm/ptrace.h> | 13 | #include <asm/ptrace.h> |
13 | 14 | ||
15 | struct task_struct *__switch_to(struct task_struct *prev, | ||
16 | struct task_struct *next); | ||
17 | |||
14 | /* | 18 | /* |
15 | * switch_to() should switch tasks to task nr n, first | 19 | * switch_to() should switch tasks to task nr n, first |
16 | */ | 20 | */ |
@@ -271,6 +275,16 @@ extern unsigned int instruction_size(unsigned int insn); | |||
271 | void disable_hlt(void); | 275 | void disable_hlt(void); |
272 | void enable_hlt(void); | 276 | void enable_hlt(void); |
273 | 277 | ||
278 | void default_idle(void); | ||
279 | |||
280 | asmlinkage void break_point_trap(void); | ||
281 | asmlinkage void debug_trap_handler(unsigned long r4, unsigned long r5, | ||
282 | unsigned long r6, unsigned long r7, | ||
283 | struct pt_regs __regs); | ||
284 | asmlinkage void bug_trap_handler(unsigned long r4, unsigned long r5, | ||
285 | unsigned long r6, unsigned long r7, | ||
286 | struct pt_regs __regs); | ||
287 | |||
274 | #define arch_align_stack(x) (x) | 288 | #define arch_align_stack(x) (x) |
275 | 289 | ||
276 | #endif | 290 | #endif |