diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-12 02:21:19 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-12 02:21:19 -0500 |
commit | ffc2238af8431d930d2c15f16feecf1fd6d75642 (patch) | |
tree | bd4590ce74a90aac633d1e0a2a614bf9476fc148 | |
parent | a93751cab71d63126687551823ed3e70cd85854a (diff) |
x86, bts: fix build error
Impact: build fix
arch/x86/kernel/ds.c: In function 'ds_request':
arch/x86/kernel/ds.c:236: sorry, unimplemented: inlining failed in call to 'ds_get_context': recursive inlining
but the recursion here is scary ...
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c index f0583005b75e..dc1e7123ea4e 100644 --- a/arch/x86/kernel/ds.c +++ b/arch/x86/kernel/ds.c | |||
@@ -232,7 +232,7 @@ static DEFINE_PER_CPU(struct ds_context *, system_context_array); | |||
232 | 232 | ||
233 | #define system_context per_cpu(system_context_array, smp_processor_id()) | 233 | #define system_context per_cpu(system_context_array, smp_processor_id()) |
234 | 234 | ||
235 | static inline struct ds_context *ds_get_context(struct task_struct *task) | 235 | static struct ds_context *ds_get_context(struct task_struct *task) |
236 | { | 236 | { |
237 | struct ds_context **p_context = | 237 | struct ds_context **p_context = |
238 | (task ? &task->thread.ds_ctx : &system_context); | 238 | (task ? &task->thread.ds_ctx : &system_context); |