patch-2.1.86 linux/include/linux/apm_bios.h

Next file: linux/include/linux/cd1400.h
Previous file: linux/include/asm-sparc64/elf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/include/linux/apm_bios.h linux/include/linux/apm_bios.h
@@ -22,10 +22,8 @@
 
 #ifdef __KERNEL__
 
-#include <linux/tasks.h>	/* for NR_TASKS */
-#include <linux/sched.h>	/* for _TSS */
-
-#define APM_CS		_TSS(NR_TASKS)
+#define APM_40		0x40
+#define APM_CS		(APM_40 + 8)
 #define APM_CS_16	(APM_CS + 8)
 #define APM_DS		(APM_CS_16 + 8)
 

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