]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: introduce debug_kmap_atomic
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 31 Mar 2009 22:23:25 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:14 +0000 (08:59 -0700)
commitf4112de6b679d84bd9b9681c7504be7bdfb7c7d5
treec9a5665b31e751e1d4255b8c35a6245d5abfa3eb
parent851a039cc547b33b8139fe6d7c2bbfb158e2724e
mm: introduce debug_kmap_atomic

x86 has debug_kmap_atomic_prot() which is error checking function for
kmap_atomic.  It is usefull for the other architectures, although it needs
CONFIG_TRACE_IRQFLAGS_SUPPORT.

This patch exposes it to the other architectures.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/highmem_32.c
include/linux/highmem.h
mm/highmem.c