tracing: x86, mmiotrace: fix range test
authorStuart Bennett <stuart@freedesktop.org>
Tue, 28 Apr 2009 19:17:48 +0000 (20:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 09:32:22 +0000 (11:32 +0200)
commit33015c85995716d03f6293346cf05a1908b0fb9a
tree26fdb8cdb5b1b90628a23c032bf30350f5bda721
parent7267fa6819467669f5cc2ba81a615dcc88158b4b
tracing: x86, mmiotrace: fix range test

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>
arch/x86/mm/kmmio.c