diff options
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/apic/x2apic_uv_x.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/x86_init.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 2477c9f88093..597a47b1cec6 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c | |||
@@ -37,12 +37,12 @@ DEFINE_PER_CPU(int, x2apic_extra_bits); | |||
37 | static enum uv_system_type uv_system_type; | 37 | static enum uv_system_type uv_system_type; |
38 | static u64 gru_start_paddr, gru_end_paddr; | 38 | static u64 gru_start_paddr, gru_end_paddr; |
39 | 39 | ||
40 | static int is_GRU_range(u64 start, u64 end) | 40 | static inline bool is_GRU_range(u64 start, u64 end) |
41 | { | 41 | { |
42 | return start >= gru_start_paddr && end < gru_end_paddr; | 42 | return start >= gru_start_paddr && end < gru_end_paddr; |
43 | } | 43 | } |
44 | 44 | ||
45 | static int uv_is_untracked_pat_range(u64 start, u64 end) | 45 | static bool uv_is_untracked_pat_range(u64 start, u64 end) |
46 | { | 46 | { |
47 | return is_ISA_range(start, end) || is_GRU_range(start, end); | 47 | return is_ISA_range(start, end) || is_GRU_range(start, end); |
48 | } | 48 | } |
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index bcc749ef62dc..861b8b54e172 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -70,8 +70,8 @@ struct x86_cpuinit_ops x86_cpuinit __cpuinitdata = { | |||
70 | }; | 70 | }; |
71 | 71 | ||
72 | struct x86_platform_ops x86_platform = { | 72 | struct x86_platform_ops x86_platform = { |
73 | .is_untracked_pat_range = default_is_untracked_pat_range, | ||
74 | .calibrate_tsc = native_calibrate_tsc, | 73 | .calibrate_tsc = native_calibrate_tsc, |
75 | .get_wallclock = mach_get_cmos_time, | 74 | .get_wallclock = mach_get_cmos_time, |
76 | .set_wallclock = mach_set_rtc_mmss, | 75 | .set_wallclock = mach_set_rtc_mmss, |
76 | .is_untracked_pat_range = is_ISA_range, | ||
77 | }; | 77 | }; |