diff options
Diffstat (limited to 'arch/sh/include/asm/system_64.h')
-rw-r--r-- | arch/sh/include/asm/system_64.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/sh/include/asm/system_64.h b/arch/sh/include/asm/system_64.h index ab1dd917ea87..36338646dfc8 100644 --- a/arch/sh/include/asm/system_64.h +++ b/arch/sh/include/asm/system_64.h | |||
@@ -18,6 +18,7 @@ | |||
18 | /* | 18 | /* |
19 | * switch_to() should switch tasks to task nr n, first | 19 | * switch_to() should switch tasks to task nr n, first |
20 | */ | 20 | */ |
21 | struct thread_struct; | ||
21 | struct task_struct *sh64_switch_to(struct task_struct *prev, | 22 | struct task_struct *sh64_switch_to(struct task_struct *prev, |
22 | struct thread_struct *prev_thread, | 23 | struct thread_struct *prev_thread, |
23 | struct task_struct *next, | 24 | struct task_struct *next, |
@@ -33,8 +34,6 @@ do { \ | |||
33 | &next->thread); \ | 34 | &next->thread); \ |
34 | } while (0) | 35 | } while (0) |
35 | 36 | ||
36 | #define __uses_jump_to_uncached | ||
37 | |||
38 | #define jump_to_uncached() do { } while (0) | 37 | #define jump_to_uncached() do { } while (0) |
39 | #define back_to_cached() do { } while (0) | 38 | #define back_to_cached() do { } while (0) |
40 | 39 | ||
@@ -48,6 +47,13 @@ static inline reg_size_t register_align(void *val) | |||
48 | return (unsigned long long)(signed long long)(signed long)val; | 47 | return (unsigned long long)(signed long long)(signed long)val; |
49 | } | 48 | } |
50 | 49 | ||
50 | extern void phys_stext(void); | ||
51 | |||
52 | static inline void trigger_address_error(void) | ||
53 | { | ||
54 | phys_stext(); | ||
55 | } | ||
56 | |||
51 | #define SR_BL_LL 0x0000000010000000LL | 57 | #define SR_BL_LL 0x0000000010000000LL |
52 | 58 | ||
53 | static inline void set_bl_bit(void) | 59 | static inline void set_bl_bit(void) |