diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-05 11:30:43 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-06 12:26:08 -0800 |
commit | a034a010f48bf49efe25098c16c16b9708ccbba5 (patch) | |
tree | 7ac8fb36b734be460b9a66f1e591015f4826720c /arch/x86/include/asm/pgtable-3level.h | |
parent | 45c82b5a770be66845687a7d027c8b52946d59af (diff) | |
download | blackbird-op-linux-a034a010f48bf49efe25098c16c16b9708ccbba5.tar.gz blackbird-op-linux-a034a010f48bf49efe25098c16c16b9708ccbba5.zip |
x86: unify pte_none
Impact: cleanup
Unify and demacro pte_none.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level.h')
-rw-r--r-- | arch/x86/include/asm/pgtable-3level.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index 447da43cddb3..07e0734f6202 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h @@ -151,11 +151,6 @@ static inline int pte_same(pte_t a, pte_t b) return a.pte_low == b.pte_low && a.pte_high == b.pte_high; } -static inline int pte_none(pte_t pte) -{ - return !pte.pte_low && !pte.pte_high; -} - /* * Bits 0, 6 and 7 are taken in the low part of the pte, * put the 32 bits of offset into the high part. |