patch-2.4.23 linux-2.4.23/include/asm-x86_64/desc.h
Next file: linux-2.4.23/include/asm-x86_64/elf.h
Previous file: linux-2.4.23/include/asm-x86_64/cpufeature.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/asm-x86_64/desc.h
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/include/asm-x86_64/desc.h linux-2.4.23/include/asm-x86_64/desc.h
@@ -121,7 +121,7 @@
dst->base1 = PTR_MIDDLE(ptr) & 0xFF;
dst->type = type;
dst->p = 1;
- dst->limit1 = 0xF;
+ dst->limit1 = (size >> 16) & 0xF;
dst->base2 = (PTR_MIDDLE(ptr) >> 8) & 0xFF;
dst->base3 = PTR_HIGH(ptr);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)