diff options
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/rcu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/rcu.h b/arch/x86/include/asm/rcu.h index 439815b35ced..d1ac07a23979 100644 --- a/arch/x86/include/asm/rcu.h +++ b/arch/x86/include/asm/rcu.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _ASM_X86_RCU_H | 1 | #ifndef _ASM_X86_RCU_H |
2 | #define _ASM_X86_RCU_H | 2 | #define _ASM_X86_RCU_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | ||
5 | |||
4 | #include <linux/rcupdate.h> | 6 | #include <linux/rcupdate.h> |
5 | #include <asm/ptrace.h> | 7 | #include <asm/ptrace.h> |
6 | 8 | ||
@@ -17,4 +19,14 @@ static inline void exception_exit(struct pt_regs *regs) | |||
17 | #endif | 19 | #endif |
18 | } | 20 | } |
19 | 21 | ||
22 | #else /* __ASSEMBLY__ */ | ||
23 | |||
24 | #ifdef CONFIG_RCU_USER_QS | ||
25 | # define SCHEDULE_USER call schedule_user | ||
26 | #else | ||
27 | # define SCHEDULE_USER call schedule | ||
28 | #endif | ||
29 | |||
30 | #endif /* !__ASSEMBLY__ */ | ||
31 | |||
20 | #endif | 32 | #endif |