patch-2.0.38 linux/arch/i386/kernel/head.S

Next file: linux/include/asm-i386/pgtable.h
Previous file: linux/arch/i386/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.37/linux/arch/i386/kernel/head.S linux/arch/i386/kernel/head.S
@@ -491,7 +491,7 @@
 
 #define lower_seg(type,dpl,base,limit) \
         (((base) & 0x0000ffff)<<16) | \
-        ((limit) & 0x0ffff)
+        (((limit)>>12) & 0x0ffff)
 
 #define x86_seg(type,dpl,base,limit) \
 	.long lower_seg(type,dpl,base,limit); \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov