[PATCH 4/7] Initialize trec early so it may be used early

From: Wink Saville
Date: Wed Mar 21 2007 - 02:49:32 EST


Signed-off-by: Wink Saville <wink@xxxxxxxxxxx>
---
init/main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/init/main.c b/init/main.c
index a92989e..46bc440 100644
--- a/init/main.c
+++ b/init/main.c
@@ -54,6 +54,7 @@
#include <linux/lockdep.h>
#include <linux/pid_namespace.h>
#include <linux/device.h>
+#include <linux/trec.h>

#include <asm/io.h>
#include <asm/bugs.h>
@@ -517,6 +518,9 @@ asmlinkage void __init start_kernel(void)
early_boot_irqs_off();
early_init_irq_lock_class();

+ trec_init();
+ TREC0();
+
/*
* Interrupts are still disabled. Do necessary setups, then
* enable them
--
1.5.0.rc2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/