]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:21:09 +0000 (10:21 -0800)
commit8eed84d8062c4b41ac9722b6d121ccdffb508d05
tree050f316cd9dba6ce944c61ed26dc7a271b1e54ec
parent52f9034cfc63fad0aa06eecb1fd943432b6dc9f1
highmem: Fix debug_kmap_atomic() to also handle KM_IRQ_PTE, KM_NMI, and KM_NMI_PTE

commit d4515646699b6ad7b1a98ceb871296b957f3ef47 upstream.

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
LKML-Reference: <ye8vdhz8krw.fsf@camel23.daimi.au.dk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/highmem.c