]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tracing: x86, mmiotrace: fix range test
authorStuart Bennett <stuart@freedesktop.org>
Tue, 28 Apr 2009 19:17:48 +0000 (20:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:45:12 +0000 (15:45 -0700)
commit0bdcc4d3d0ad03cdcabbc689415e2e6924cd8636
treee1859a3762df7dd26fa118197fe0f3dfd7220346
parent3209ada8285a9fa6ab8f7a731d54031ec884c745
tracing: x86, mmiotrace: fix range test

commit 33015c85995716d03f6293346cf05a1908b0fb9a upstream.

Matching on (addr == (p->addr + p->len)) causes problems when mappings
are adjacent.

[ Impact: fix mmiotrace confusion on adjacent iomaps ]

Signed-off-by: Stuart Bennett <stuart@freedesktop.org>
Acked-by: Pekka Paalanen <pq@iki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1240946271-7083-2-git-send-email-stuart@freedesktop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/mm/kmmio.c