login
Header Space

 
 

Re: [PATCH] build fix for smp

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sergio Luis <sergio@...>
Cc: Glauber de Oliveira Costa <gcosta@...>, <linux-kernel@...>, <akpm@...>, <tglx@...>, <ak@...>, Avi Kivity <avi@...>
Date: Monday, April 28, 2008 - 4:50 am

* Sergio Luis <sergio@uece.br> wrote:




btw., that's a VISWS config - that wont boot on any PC. The patch below 
should fix this.

	Ingo

--------------------------->
Subject: x86 VISWS: build fix
From: Ingo Molnar <mingo@elte.hu>
Date: Mon Apr 28 10:46:58 CEST 2008

the 'reboot_force' flag is a notion that non-PC subarchitectures do
not have.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 include/asm-x86/proto.h |    4 ++++
 1 file changed, 4 insertions(+)

Index: linux/include/asm-x86/proto.h
===================================================================
--- linux.orig/include/asm-x86/proto.h
+++ linux/include/asm-x86/proto.h
@@ -20,7 +20,11 @@ extern void syscall32_cpu_init(void);
 
 extern void check_efer(void);
 
+#ifdef X86_BIOS_REBOOT
 extern int reboot_force;
+#else
+static const int reboot_force = 0;
+#endif
 
 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] build fix for smp, Glauber de Oliveira Costa..., (Wed Mar 19, 1:11 pm)
Re: [PATCH] build fix for smp, Ingo Molnar, (Wed Mar 19, 3:52 pm)
Re: [PATCH] build fix for smp, Sergio Luis, (Mon Apr 28, 3:52 am)
Re: [PATCH] build fix for smp, Glauber Costa, (Mon Apr 28, 10:16 am)
Re: [PATCH] build fix for smp, Ingo Molnar, (Mon Apr 28, 4:50 am)
Re: [PATCH] build fix for smp, Sergio Luis, (Mon Apr 28, 5:01 am)
speck-geostationary