Skip to content

Commit 625efab

Browse files
Jes Sorensenrustyrussell
authored andcommitted
Move i386 part of core.c to x86/core.c.
Separate i386 architecture specific from core.c and move it to x86/core.c and add x86/lguest.h header file to match. Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 56adbe9 commit 625efab

9 files changed

Lines changed: 613 additions & 522 deletions

File tree

‎arch/x86/lguest/boot.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
#include <asm/e820.h>
6666
#include <asm/mce.h>
6767
#include <asm/io.h>
68+
#include <asm/i387.h>
6869

6970
/*G:010 Welcome to the Guest!
7071
*

‎drivers/lguest/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ obj-$(CONFIG_LGUEST) += lg.o
66
lg-y = core.o hypercalls.o page_tables.o interrupts_and_traps.o \
77
segments.o io.o lguest_user.o
88

9-
lg-$(CONFIG_X86_32) += x86/switcher_32.o
9+
lg-$(CONFIG_X86_32) += x86/switcher_32.o x86/core.o
1010

1111
Preparation Preparation!: PREFIX=P
1212
Guest: PREFIX=G

0 commit comments

Comments
 (0)