summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2009-07-07 23:34:39 -0400
committerLen Brown <len.brown@intel.com>2009-07-29 10:22:42 -0400
commit45ace19c68bd1d07c539861818f44c570e39f9c9 (patch)
treecff58ed1a302170df1078728d040afd28ca2a223 /init
parentaa81332957853bbdffad06633e6dfcf244d7c7cb (diff)
SFI: add boot-time initialization hooks
There are two SFI boot-time hooks: sfi_init() maps the SYST using early_ioremap() and validates all the tables. sfi_init_late() re-maps SYST with ioremap(), and initializes the ACPI extension, if present. Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'init')
-rw-r--r--init/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 2c5ade79eb81..d32a1ffef815 100644
--- a/init/main.c
+++ b/init/main.c
@@ -68,6 +68,7 @@
#include <linux/async.h>
#include <linux/kmemcheck.h>
#include <linux/kmemtrace.h>
+#include <linux/sfi.h>
#include <trace/boot.h>
#include <asm/io.h>
@@ -712,6 +713,7 @@ asmlinkage void __init start_kernel(void)
check_bugs();
acpi_early_init(); /* before LAPIC and SMP init */
+ sfi_init_late();
ftrace_init();