Index: arch/amd64/include/pm.h
===================================================================
--- arch/amd64/include/pm.h	(revision de07bcf5893aee4d667e2094636cd1512e4be1d8)
+++ arch/amd64/include/pm.h	(revision 2bb8648e46a151efe13c3bb8385ced857a95758d)
@@ -37,7 +37,6 @@
 
 #define IDT_ITEMS 64
-#define GDT_ITEMS 9
+#define GDT_ITEMS 8
 
-#define VESA_INIT_SEGMENT 0x8000
 
 #define NULL_DES	0
@@ -50,5 +49,17 @@
 /* EndOfWarning */
 #define TSS_DES		6
+
+
+
+#ifdef CONFIG_FB
+
 #define VESA_INIT_DES		8
+#define VESA_INIT_SEGMENT 0x8000
+#undef GDT_ITEMS 
+#define GDT_ITEMS 9
+
+#endif /*CONFIG_FB*/
+
+
 
 #define gdtselector(des)	((des)<<3)
