From: Jeremy Fitzhardinge Date: Thu, 5 Feb 2009 19:31:17 +0000 (-0800) Subject: x86: make pgd/pud/pmd/pte_none consistent X-Git-Tag: v2.6.30-rc1~211^2~26^2~2^4~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c8e3179933c5c9071b16db76ab6de58a787d06;p=pandora-kernel.git 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 --- Reading git-diff-tree failed