]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86, mtrr: fix types used in userspace exported header
authorKyle McMartin <kyle@redhat.com>
Thu, 8 Jan 2009 15:04:30 +0000 (10:04 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 8 Jan 2009 15:13:59 +0000 (16:13 +0100)
Commit 932d27a7913fc6b3c64c6e6082628b0a1561dec9 exported some mtrr
structures without using the exportable __uX types, causing userspace
build failures.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/mtrr.h

index cb988aab716dfc7c30467ae32adce09dbb7489e6..14080d22edb30221300547c855923089c80b8678 100644 (file)
@@ -58,15 +58,15 @@ struct mtrr_gentry {
 #endif /* !__i386__ */
 
 struct mtrr_var_range {
-       u32 base_lo;
-       u32 base_hi;
-       u32 mask_lo;
-       u32 mask_hi;
+       __u32 base_lo;
+       __u32 base_hi;
+       __u32 mask_lo;
+       __u32 mask_hi;
 };
 
 /* In the Intel processor's MTRR interface, the MTRR type is always held in
    an 8 bit field: */
-typedef u8 mtrr_type;
+typedef __u8 mtrr_type;
 
 #define MTRR_NUM_FIXED_RANGES 88
 #define MTRR_MAX_VAR_RANGES 256