Skip to contentSkip to conversation

x86-64: fix build for CONFIG_PREEMPT

PATCH New Jan Kiszka 1 participant 1 message Jan 21, 2008

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 x86-64: fix build for CONFIG_PREEMPT

Someone (me? :-]) broke CONFIG_PREEMPT for 2.6.24 x86-64. Here is the required fix.

Jan

Signature · 20 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

---
 arch/x86/kernel/ipipe.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.24-rc8-xeno_64/arch/x86/kernel/ipipe.c
===================================================================
--- linux-2.6.24-rc8-xeno_64.orig/arch/x86/kernel/ipipe.c
+++ linux-2.6.24-rc8-xeno_64/arch/x86/kernel/ipipe.c
@@ -570,6 +570,8 @@ asmlinkage int __ipipe_syscall_root(stru
 #else /* !CONFIG_X86_32 */

 #ifdef CONFIG_PREEMPT
+asmlinkage void preempt_schedule_irq(void);
+
 /*
  * Check the stall bit of the root domain to make sure the existing
  * preemption opportunity upon in-kernel resumption could be