diff options
author | Kyle McMartin <kyle@redhat.com> | 2009-01-08 16:04:30 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-08 16:13:59 +0100 |
commit | 79f3b3cb7a2586b319a43a7f29924c6c555e4357 (patch) | |
tree | 1e2cd1d06ed94ff08be1dcbe8d848a625175c0e4 /arch | |
parent | x86: fix section mismatch warnings in mcheck/mce_amd_64.c (diff) | |
download | linux-79f3b3cb7a2586b319a43a7f29924c6c555e4357.tar.xz linux-79f3b3cb7a2586b319a43a7f29924c6c555e4357.zip |
x86, mtrr: fix types used in userspace exported header
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/mtrr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h index cb988aab716d..14080d22edb3 100644 --- a/arch/x86/include/asm/mtrr.h +++ b/arch/x86/include/asm/mtrr.h @@ -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 |