Skip to content

Commit ffc2238

Browse files
author
Ingo Molnar
committed
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>
1 parent a93751c commit ffc2238

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/kernel/ds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static DEFINE_PER_CPU(struct ds_context *, system_context_array);
232232

233233
#define system_context per_cpu(system_context_array, smp_processor_id())
234234

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)
236236
{
237237
struct ds_context **p_context =
238238
(task ? &task->thread.ds_ctx : &system_context);

0 commit comments

Comments
 (0)