diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-02-04 10:48:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-04 10:48:08 -0500 |
commit | 6ce9fc17d913ae51f8434d2826f306347820b07d (patch) | |
tree | 74480331ccfeacec893679c4b5423a0e93071b42 /arch | |
parent | bde1965ce8c63e17cc284e1af616c85aba483f11 (diff) |
x86: remove cpa warning
this race is legit and can happen on SMP systems.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/pageattr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index 72880993af89..0b029c97174e 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c | |||
@@ -356,10 +356,8 @@ static int split_large_page(pte_t *kpte, unsigned long address) | |||
356 | * up for us already: | 356 | * up for us already: |
357 | */ | 357 | */ |
358 | tmp = lookup_address(address, &level); | 358 | tmp = lookup_address(address, &level); |
359 | if (tmp != kpte) { | 359 | if (tmp != kpte) |
360 | WARN_ON_ONCE(1); | ||
361 | goto out_unlock; | 360 | goto out_unlock; |
362 | } | ||
363 | 361 | ||
364 | address = __pa(address); | 362 | address = __pa(address); |
365 | addr = address & PMD_PAGE_MASK; | 363 | addr = address & PMD_PAGE_MASK; |