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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitri Vorobiev
Date: Sunday, April 27, 2008 - 4: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, 4:15 pm)
[PATCH 1/2] x86: iommu_sac_force can become static, Dmitri Vorobiev, (Sun Apr 27, 4:15 pm)
[PATCH 2/2] x86: add proper header for reboot_force, Dmitri Vorobiev, (Sun Apr 27, 4:15 pm)
Re: x86: fix a couple of sparse warnings, Ingo Molnar, (Mon Apr 28, 5:38 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 6:37 am)
Re: x86: fix a couple of sparse warnings, Dmitri Vorobiev, (Mon Apr 28, 6:43 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 6:59 am)
Re: x86: fix a couple of sparse warnings, Ingo Molnar, (Mon Apr 28, 8:01 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 11:56 am)
Re: x86: fix a couple of sparse warnings, Sam Ravnborg, (Mon Apr 28, 12:13 pm)