diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dev/include/linux/head.h | 20 | ||||
-rw-r--r-- | linux/src/include/linux/head.h | 3 |
2 files changed, 2 insertions, 21 deletions
diff --git a/linux/dev/include/linux/head.h b/linux/dev/include/linux/head.h deleted file mode 100644 index c501f21..0000000 --- a/linux/dev/include/linux/head.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef _LINUX_HEAD_H -#define _LINUX_HEAD_H - -typedef struct desc_struct { - unsigned long a,b; -} desc_table[256]; - -/* XXX Linux code shouldn't use idt/gdt directly */ -/* extern desc_table idt,gdt; */ - -#define GDT_NUL 0 -#define GDT_CODE 1 -#define GDT_DATA 2 -#define GDT_TMP 3 - -#define LDT_NUL 0 -#define LDT_CODE 1 -#define LDT_DATA 2 - -#endif diff --git a/linux/src/include/linux/head.h b/linux/src/include/linux/head.h index 3829b1c..c501f21 100644 --- a/linux/src/include/linux/head.h +++ b/linux/src/include/linux/head.h @@ -5,7 +5,8 @@ typedef struct desc_struct { unsigned long a,b; } desc_table[256]; -extern desc_table idt,gdt; +/* XXX Linux code shouldn't use idt/gdt directly */ +/* extern desc_table idt,gdt; */ #define GDT_NUL 0 #define GDT_CODE 1 |