]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitd4515646699b6ad7b1a98ceb871296b957f3ef47
treee29bc0bd1eb291b45f58709c06d7c9c072aed6f6
parent5ebd4c22897dce65845807a9bd3a31cc4e142b53
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