diff options
author | Andreas Herrmann <andreas.herrmann3@amd.com> | 2008-06-10 10:06:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-12 04:14:27 -0400 |
commit | 499f8f84b8324ba27d756e03f373fa16eeed9ccc (patch) | |
tree | 1a3ca5d9c9ff040978d7aa76183242aa97b2d878 /include/asm-x86/pat.h | |
parent | cd7a4e936d345ab4cb49d68192d90bd4e4c58458 (diff) |
x86: rename pat_wc_enabled to pat_enabled
BTW, what does pat_wc_enabled stand for? Does it mean
"write-combining"?
Currently it is used to globally switch on or off PAT support.
Thus I renamed it to pat_enabled.
I think this increases readability (and hope that I didn't miss
something).
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/pat.h')
-rw-r--r-- | include/asm-x86/pat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/pat.h b/include/asm-x86/pat.h index 6fa9710ae09a..7edc47307217 100644 --- a/include/asm-x86/pat.h +++ b/include/asm-x86/pat.h | |||
@@ -4,10 +4,10 @@ | |||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | 5 | ||
6 | #ifdef CONFIG_X86_PAT | 6 | #ifdef CONFIG_X86_PAT |
7 | extern int pat_wc_enabled; | 7 | extern int pat_enabled; |
8 | extern void validate_pat_support(struct cpuinfo_x86 *c); | 8 | extern void validate_pat_support(struct cpuinfo_x86 *c); |
9 | #else | 9 | #else |
10 | static const int pat_wc_enabled; | 10 | static const int pat_enabled; |
11 | static inline void validate_pat_support(struct cpuinfo_x86 *c) { } | 11 | static inline void validate_pat_support(struct cpuinfo_x86 *c) { } |
12 | #endif | 12 | #endif |
13 | 13 | ||