aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pageattr.c
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann3@amd.com>2008-06-10 10:06:21 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-12 04:14:27 -0400
commit499f8f84b8324ba27d756e03f373fa16eeed9ccc (patch)
tree1a3ca5d9c9ff040978d7aa76183242aa97b2d878 /arch/x86/mm/pageattr.c
parentcd7a4e936d345ab4cb49d68192d90bd4e4c58458 (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 'arch/x86/mm/pageattr.c')
-rw-r--r--arch/x86/mm/pageattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index 60bcb5b6a37e..6916fe4bf0cb 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -805,7 +805,7 @@ int _set_memory_wc(unsigned long addr, int numpages)
805 805
806int set_memory_wc(unsigned long addr, int numpages) 806int set_memory_wc(unsigned long addr, int numpages)
807{ 807{
808 if (!pat_wc_enabled) 808 if (!pat_enabled)
809 return set_memory_uc(addr, numpages); 809 return set_memory_uc(addr, numpages);
810 810
811 if (reserve_memtype(addr, addr + numpages * PAGE_SIZE, 811 if (reserve_memtype(addr, addr + numpages * PAGE_SIZE,