Skip to content

Commit

Permalink
x86: remove cpa warning
Browse files Browse the repository at this point in the history
this race is legit and can happen on SMP systems.

Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
Ingo Molnar committed Feb 4, 2008
1 parent bde1965 commit 6ce9fc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/x86/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,8 @@ static int split_large_page(pte_t *kpte, unsigned long address)
* up for us already:
*/
tmp = lookup_address(address, &level);
if (tmp != kpte) {
WARN_ON_ONCE(1);
if (tmp != kpte)
goto out_unlock;
}

address = __pa(address);
addr = address & PMD_PAGE_MASK;
Expand Down

0 comments on commit 6ce9fc1

Please sign in to comment.