diff options
Diffstat (limited to 'linux-2.4.26-xen-sparse/include/asm-xen/segment.h')
-rw-r--r-- | linux-2.4.26-xen-sparse/include/asm-xen/segment.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linux-2.4.26-xen-sparse/include/asm-xen/segment.h b/linux-2.4.26-xen-sparse/include/asm-xen/segment.h new file mode 100644 index 0000000000..ca13028ce0 --- /dev/null +++ b/linux-2.4.26-xen-sparse/include/asm-xen/segment.h @@ -0,0 +1,15 @@ +#ifndef _ASM_SEGMENT_H +#define _ASM_SEGMENT_H + +#ifndef __ASSEMBLY__ +#include <linux/types.h> +#endif +#include <asm/hypervisor-ifs/hypervisor-if.h> + +#define __KERNEL_CS FLAT_RING1_CS +#define __KERNEL_DS FLAT_RING1_DS + +#define __USER_CS FLAT_RING3_CS +#define __USER_DS FLAT_RING3_DS + +#endif |