Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Check __LP64__ instead of __i386__ for mtrr_gentry"

This reverts commit 9b1e211.
  • Loading branch information...
commit 6cc9047a46a4a1d418a92543bb2f0928675de812 1 parent 78d7a39
@hjl-tools authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 arch/x86/include/asm/mtrr.h
View
6 arch/x86/include/asm/mtrr.h
@@ -40,7 +40,7 @@ struct mtrr_sentry {
But you need to use this for 64bit, otherwise your X server
will break. */
-#ifndef __LP64__
+#ifdef __i386__
struct mtrr_gentry {
unsigned int regnum; /* Register number */
unsigned long base; /* Base address */
@@ -48,7 +48,7 @@ struct mtrr_gentry {
unsigned int type; /* Type of region */
};
-#else /* !__LP64__ */
+#else /* __i386__ */
struct mtrr_gentry {
unsigned long base; /* Base address */
@@ -56,7 +56,7 @@ struct mtrr_gentry {
unsigned int regnum; /* Register number */
unsigned int type; /* Type of region */
};
-#endif /* __LP64__ */
+#endif /* !__i386__ */
struct mtrr_var_range {
__u32 base_lo;
Please sign in to comment.
Something went wrong with that request. Please try again.