summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ftrace.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-12-01 06:33:51 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-12-01 06:33:51 +0100
commitccef086454d4c97e7b722e9303390207d681cb4c (patch)
tree2dce23edf190368aab9afa7af6b4abec99930089 /arch/x86/kernel/ftrace.c
parentx86/pat: Trivial: don't create debugfs for memtype if pat is disabled (diff)
downloadlinux-ccef086454d4c97e7b722e9303390207d681cb4c.tar.xz
linux-ccef086454d4c97e7b722e9303390207d681cb4c.zip
x86, mm: Correct the implementation of is_untracked_pat_range()
The semantics the PAT code expect of is_untracked_pat_range() is "is this range completely contained inside the untracked region." This means that checkin 8a27138924f64d2f30c1022f909f74480046bc3f was technically wrong, because the implementation needlessly confusing. The sane interface is for it to take a semiclosed range like just about everything else (as evidenced by the sheer number of "- 1"'s removed by that patch) so change the actual implementation to match. Reported-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jack Steiner <steiner@sgi.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> LKML-Reference: <20091119202341.GA4420@sgi.com>
Diffstat (limited to 'arch/x86/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions