summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head32.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2008-02-23 09:58:20 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:49 +0200
commit700efc1b9f6afe34caae231b87d129ad8ffb559f (patch)
tree272db7a6e7040b4833b2a6b8e241105f44ff2542 /arch/x86/kernel/head32.c
parent322850af8d93735f67b8ebf84bb1350639be3f34 (diff)
downloadop-kernel-dev-700efc1b9f6afe34caae231b87d129ad8ffb559f.zip
op-kernel-dev-700efc1b9f6afe34caae231b87d129ad8ffb559f.tar.gz
x86: introduce kernel/head32.c
Copy x86_64 and add a head32.c so we can start moving early architecture initialization out of assembly. [ Sam Ravnborg <sam@ravnborg.org>: updated it to x86 ] Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head32.c')
-rw-r--r--arch/x86/kernel/head32.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head32.c
new file mode 100644
index 0000000..3db0590
--- /dev/null
+++ b/arch/x86/kernel/head32.c
@@ -0,0 +1,14 @@
+/*
+ * linux/arch/i386/kernel/head32.c -- prepare to run common code
+ *
+ * Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
+ * Copyright (C) 2007 Eric Biederman <ebiederm@xmission.com>
+ */
+
+#include <linux/init.h>
+#include <linux/start_kernel.h>
+
+void __init i386_start_kernel(void)
+{
+ start_kernel();
+}
OpenPOWER on IntegriCloud