From: Ingo Molnar Date: Fri, 12 Dec 2008 07:21:19 +0000 (+0100) Subject: x86, bts: fix build error X-Git-Tag: firefly_0821_release~13991^2~416^4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ffc2238af8431d930d2c15f16feecf1fd6d75642;p=firefly-linux-kernel-4.4.55.git 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 --- 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); #define system_context per_cpu(system_context_array, smp_processor_id()) -static inline struct ds_context *ds_get_context(struct task_struct *task) +static struct ds_context *ds_get_context(struct task_struct *task) { struct ds_context **p_context = (task ? &task->thread.ds_ctx : &system_context);