commit | 26c8e3179933c5c9071b16db76ab6de58a787d06 | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Thu Feb 05 11:31:17 2009 -0800 |
committer | Jeremy Fitzhardinge <jeremy@goop.org> | Fri Feb 06 12:31:51 2009 -0800 |
tree | c91b0e5eaa71cd123791280224431fbfb4aed520 | |
parent | 18a7a199f97a7509fb987722e543f1aac3d7ada5 [diff] |
x86: make pgd/pud/pmd/pte_none consistent The _none test is done differently for every level of the pagetable. Standardize them by: 1: Use the native_X_val to extract the raw entry, with no need to go via paravirt_ops, diff -r 1d0646d0d319 arch/x86/include/asm/pgtable.h, and 2: Compare with 0 rather than using a boolean !, since they are actually values and not booleans. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>