x86: PAT: move track untrack pfnmap stubs to asm-generic
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 19 Dec 2008 21:47:29 +0000 (13:47 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 19 Dec 2008 23:40:30 +0000 (15:40 -0800)
commit34801ba9bf0381fcf0e2b08179d2c07f2c6ede74
treee14d979cb9abf9220d0c60b04505851805975398
parent982d789ab76c8a11426852fec2fdf2f412e21c0c
x86: PAT: move track untrack pfnmap stubs to asm-generic

Impact: Cleanup and branch hints only.

Move the track and untrack pfn stub routines from memory.c to asm-generic.
Also add unlikely to pfnmap related calls in fork and exit path.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/pgtable.h
include/asm-generic/pgtable.h
include/linux/mm.h
mm/memory.c