mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
[PATCH] i386: cpu_detect extraction
Both lhype and Xen want to call the core of the x86 cpu detect code before calling start_kernel. (extracted from larger patch) AK: folded in start_kernel header patch Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org>
This commit is contained in:
parent
139ec7c416
commit
d7cd56111f
4 changed files with 37 additions and 16 deletions
12
include/linux/start_kernel.h
Normal file
12
include/linux/start_kernel.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef _LINUX_START_KERNEL_H
|
||||
#define _LINUX_START_KERNEL_H
|
||||
|
||||
#include <linux/linkage.h>
|
||||
#include <linux/init.h>
|
||||
|
||||
/* Define the prototype for start_kernel here, rather than cluttering
|
||||
up something else. */
|
||||
|
||||
extern asmlinkage void __init start_kernel(void);
|
||||
|
||||
#endif /* _LINUX_START_KERNEL_H */
|
Loading…
Add table
Add a link
Reference in a new issue