]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/i386/kernel/asm-offsets.c
[PATCH] i386: Use %gs as the PDA base-segment in the kernel
[net-next-2.6.git] / arch / i386 / kernel / asm-offsets.c
index 70b19807acf99a85f0240575d30c18494a811118..9620872d3534cdfacd7198d0931e84c629f67a36 100644 (file)
@@ -72,6 +72,7 @@ void foo(void)
        OFFSET(PT_EAX, pt_regs, eax);
        OFFSET(PT_DS,  pt_regs, xds);
        OFFSET(PT_ES,  pt_regs, xes);
+       OFFSET(PT_GS,  pt_regs, xgs);
        OFFSET(PT_ORIG_EAX, pt_regs, orig_eax);
        OFFSET(PT_EIP, pt_regs, eip);
        OFFSET(PT_CS,  pt_regs, xcs);