-struct fake_descriptor master_ldt[LDTSZ] __attribute__ ((aligned (4096))) = {
- [SEL_TO_INDEX(SYSENTER_CS)] { /* kernel code (sysenter) */
+struct real_descriptor master_ldt[LDTSZ] __attribute__ ((aligned (4096))) = {
+#ifdef __i386__
+ [SEL_TO_INDEX(SYSENTER_CS)] = MAKE_REAL_DESCRIPTOR( /* kernel code (sysenter) */