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>
This commit is contained in:

committed by
Ingo Molnar

parent
322850af8d
commit
700efc1b9f
14
arch/x86/kernel/head32.c
Normal file
14
arch/x86/kernel/head32.c
Normal file
@@ -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();
|
||||
}
|
Reference in New Issue
Block a user