x86: put get_kernel_rpl in a common location
[linux-2.6-block.git] / include / asm-x86 / segment.h
CommitLineData
cef18950
GOC
1#ifndef _ASM_X86_SEGMENT_H_
2#define _ASM_X86_SEGMENT_H_
3
96a388de
TG
4#ifdef CONFIG_X86_32
5# include "segment_32.h"
6#else
7# include "segment_64.h"
8#endif
cef18950
GOC
9
10#ifndef CONFIG_PARAVIRT
11#define get_kernel_rpl() 0
12#endif
13
14#endif