diff options
author | Jack Steiner <steiner@sgi.com> | 2009-11-19 15:23:41 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-23 13:47:42 -0500 |
commit | fd12a0d69aee6d90fa9b9890db24368a897f8423 (patch) | |
tree | 2e77b6badae3966af54beb40f727dea143dbb075 /arch/x86/include/asm | |
parent | e38e2af1c57c3eb5211331a5b4fcaae0c4a2a918 (diff) |
x86: UV SGI: Don't track GRU space in PAT
GRU space is always mapped as WB in the page table. There is
no need to track the mappings in the PAT. This also eliminates
the "freeing invalid memtype" messages when the GRU space is
unmapped.
Signed-off-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20091119202341.GA4420@sgi.com>
[ v2: fix build failure ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/pat.h | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/x86_init.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pat.h b/arch/x86/include/asm/pat.h index e2c1668dde7a..4c35dd016b54 100644 --- a/arch/x86/include/asm/pat.h +++ b/arch/x86/include/asm/pat.h | |||
@@ -24,4 +24,6 @@ int io_reserve_memtype(resource_size_t start, resource_size_t end, | |||
24 | 24 | ||
25 | void io_free_memtype(resource_size_t start, resource_size_t end); | 25 | void io_free_memtype(resource_size_t start, resource_size_t end); |
26 | 26 | ||
27 | int default_is_untracked_pat_range(u64 start, u64 end); | ||
28 | |||
27 | #endif /* _ASM_X86_PAT_H */ | 29 | #endif /* _ASM_X86_PAT_H */ |
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index 2c756fd4ab0e..8112ed786287 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h | |||
@@ -113,11 +113,13 @@ struct x86_cpuinit_ops { | |||
113 | 113 | ||
114 | /** | 114 | /** |
115 | * struct x86_platform_ops - platform specific runtime functions | 115 | * struct x86_platform_ops - platform specific runtime functions |
116 | * @is_untracked_pat_range exclude from PAT logic | ||
116 | * @calibrate_tsc: calibrate TSC | 117 | * @calibrate_tsc: calibrate TSC |
117 | * @get_wallclock: get time from HW clock like RTC etc. | 118 | * @get_wallclock: get time from HW clock like RTC etc. |
118 | * @set_wallclock: set time back to HW clock | 119 | * @set_wallclock: set time back to HW clock |
119 | */ | 120 | */ |
120 | struct x86_platform_ops { | 121 | struct x86_platform_ops { |
122 | int (*is_untracked_pat_range)(u64 start, u64 end); | ||
121 | unsigned long (*calibrate_tsc)(void); | 123 | unsigned long (*calibrate_tsc)(void); |
122 | unsigned long (*get_wallclock)(void); | 124 | unsigned long (*get_wallclock)(void); |
123 | int (*set_wallclock)(unsigned long nowtime); | 125 | int (*set_wallclock)(unsigned long nowtime); |