]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/x86: unify pte_to_pgoff and pgoff_to_pte helpers
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 5 Nov 2013 05:54:48 +0000 (16:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:54:48 +0000 (16:54 +1100)
commite67d5e8712850f0afe4251a30e7afe10a187fe19
treee38ae0a144b0642e1f2ec314550e95458c0016d5
parent0eebcd060487360bf773777c4f12f9a7b9e8b727
arch/x86: unify pte_to_pgoff and pgoff_to_pte helpers

Use unified pte_bitop helper to manipulate bits in pte/pgoff bitfield, and
convert pte_to_pgoff/pgoff_to_pte to inlines.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/include/asm/pgtable-2level.h