public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch
@ 2007-05-07  1:09 Rusty Russell
  2007-05-07  1:10 ` [PATCH 2/3] lguest: 2.6.21-mm1 update: lguest-magic-signature.patch Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2007-05-07  1:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: lkml - Kernel Mailing List, virtualization

Andrew did a great job of merging in the PDA->percpu changes and
lguest code for 2.6.21-mm1, but the load_gdt is now unnecessary.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 drivers/lguest/lguest.c |    4 ----
 1 file changed, 4 deletions(-)

===================================================================
--- a/drivers/lguest/lguest.c
+++ b/drivers/lguest/lguest.c
@@ -409,9 +409,6 @@ static unsigned lguest_patch(u8 type, u1
 	memcpy(insns, lguest_insns[type].start, insn_len);
 	return insn_len;
 }
-
-/* From head.S */
-extern struct Xgt_desc_struct early_gdt_descr;
 
 __init void lguest_init(void)
 {
@@ -468,7 +465,6 @@ __init void lguest_init(void)
 	/* We use top of mem for initial pagetables. */
 	init_pg_tables_end = __pa(pg0);
 
-	load_gdt(&early_gdt_descr);
 	asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_DS) : "memory");
 
 	reserve_top_address(lguest_data.reserve_mem);



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-07  1:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07  1:09 [PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch Rusty Russell
2007-05-07  1:10 ` [PATCH 2/3] lguest: 2.6.21-mm1 update: lguest-magic-signature.patch Rusty Russell
2007-05-07  1:12   ` [PATCH 3/3] lguest: 2.6.21-mm1 update: lguest-net-stats-inline.patch Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox