aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/segment.h')
-rw-r--r--include/asm-i386/segment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/segment.h b/include/asm-i386/segment.h
index 5bdda79b6b5..3c796af3377 100644
--- a/include/asm-i386/segment.h
+++ b/include/asm-i386/segment.h
@@ -131,5 +131,7 @@
#define SEGMENT_LDT 0x4
#define SEGMENT_GDT 0x0
+#ifndef CONFIG_PARAVIRT
#define get_kernel_rpl() 0
#endif
+#endif