]> err.no Git - linux-2.6/blobdiff - arch/x86/boot/pm.c
KVM: x86 emulator: make register_address_increment and JMP_REL static inlines
[linux-2.6] / arch / x86 / boot / pm.c
index b23cbdc7d547befb295a073d5c7ebe6bedfce344..328956fdb59e79dc354e96f47e98c5cb5dff4a6b 100644 (file)
@@ -9,8 +9,6 @@
  * ----------------------------------------------------------------------- */
 
 /*
- * arch/i386/boot/pm.c
- *
  * Prepare the machine for transition to protected mode.
  */
 
@@ -100,11 +98,11 @@ static void reset_coprocessor(void)
 /*
  * Set up the GDT
  */
-#define GDT_ENTRY(flags,base,limit)            \
+#define GDT_ENTRY(flags, base, limit)          \
        (((u64)(base & 0xff000000) << 32) |     \
         ((u64)flags << 40) |                   \
         ((u64)(limit & 0x00ff0000) << 32) |    \
-        ((u64)(base & 0x00ffff00) << 16) |     \
+        ((u64)(base & 0x00ffffff) << 16) |     \
         ((u64)(limit & 0x0000ffff)))
 
 struct gdt_ptr {