[PATCH 2/2] x86: add proper header for reboot_force

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <mingo@...>, <tglx@...>, <hpa@...>, <linux-kernel@...>
Date: Sunday, April 27, 2008 - 7:15 pm

This patch fixes one sparse warning by including the appropriate
header for the reboot_force symbol.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
---
 arch/x86/kernel/reboot.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 69858e8..5ed6cc9 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -9,6 +9,7 @@
 #include <asm/desc.h>
 #include <asm/hpet.h>
 #include <asm/pgtable.h>
+#include <asm/proto.h>
 #include <asm/reboot_fixups.h>
 #include <asm/reboot.h>
 
-- 
1.5.3.6

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
x86: fix a couple of sparse warnings, Dmitri Vorobiev, (Sun Apr 27, 7:15 pm)
Re: x86: fix a couple of sparse warnings, Ingo Molnar, (Mon Apr 28, 8:38 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 9:37 am)
Re: x86: fix a couple of sparse warnings, Dmitri Vorobiev, (Mon Apr 28, 9:43 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 9:59 am)
Re: x86: fix a couple of sparse warnings, Ingo Molnar, (Mon Apr 28, 11:01 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 2:56 pm)
Re: x86: fix a couple of sparse warnings, Sam Ravnborg, (Mon Apr 28, 3:13 pm)
[PATCH 2/2] x86: add proper header for reboot_force, Dmitri Vorobiev, (Sun Apr 27, 7:15 pm)
[PATCH 1/2] x86: iommu_sac_force can become static, Dmitri Vorobiev, (Sun Apr 27, 7:15 pm)