]> git.baikalelectronics.ru Git - kernel.git/commit
highmem: Fix debug_kmap_atomic() to also handle KM_IRQ_PTE, KM_NMI, and KM_NMI_PTE
authorSoeren Sandmann <sandmann@daimi.au.dk>
Wed, 28 Oct 2009 17:56:35 +0000 (18:56 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Nov 2009 03:15:47 +0000 (04:15 +0100)
commitf35131045b07e397cff2bcb34e60eab6db1b5447
treee29bc0bd1eb291b45f58709c06d7c9c072aed6f6
parent7fd1d09d865e0d5eb2a5aebb2fbbf58cf7d2973a
highmem: Fix debug_kmap_atomic() to also handle KM_IRQ_PTE, KM_NMI, and KM_NMI_PTE

Previously calling debug_kmap_atomic() with these types would
cause spurious warnings.

(triggered by SysProf using perf events)

Signed-off-by: Soeren Sandmann Pedersen <sandmann@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: a.p.zijlstra@chello.nl
Cc: <stable@kernel.org> # .31.x
LKML-Reference: <ye8vdhz8krw.fsf@camel23.daimi.au.dk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/highmem.c