kmap_types: make most arches use generic header file
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 16 Jun 2009 22:33:47 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:51 +0000 (19:47 -0700)
commite4c9dd0fbad60c098a026e9b06d9de1bc98c5e89
tree033fd4035f0bcab64a0215d1a0b0f868c8b4de32
parentb8d9a86590fb334d28c5905a4c419ece7d08e37d
kmap_types: make most arches use generic header file

Convert most arches to use asm-generic/kmap_types.h.

Move the KM_FENCE_ macro additions into asm-generic/kmap_types.h,
controlled by __WITH_KM_FENCE from each arch's kmap_types.h file.

Would be nice to be able to add custom KM_types per arch, but I don't yet
see a nice, clean way to do that.

Built on x86_64, i386, mips, sparc, alpha(tonyb), powerpc(tonyb), and
68k(tonyb).

Note: avr32 should be able to remove KM_PTE2 (since it's not used) and
then just use the generic kmap_types.h file.  Get avr32 maintainer
approval.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: <linux-arch@vger.kernel.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Bryan Wu <cooloney@kernel.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: "Luck Tony" <tony.luck@intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 files changed:
arch/alpha/include/asm/kmap_types.h
arch/blackfin/include/asm/kmap_types.h
arch/cris/include/asm/kmap_types.h
arch/h8300/include/asm/kmap_types.h
arch/ia64/include/asm/kmap_types.h
arch/m32r/include/asm/kmap_types.h
arch/m68k/include/asm/kmap_types.h
arch/microblaze/include/asm/kmap_types.h
arch/mips/include/asm/kmap_types.h
arch/mn10300/include/asm/kmap_types.h
arch/parisc/include/asm/kmap_types.h
arch/s390/include/asm/kmap_types.h
arch/sh/include/asm/kmap_types.h
arch/sparc/include/asm/kmap_types.h
arch/x86/include/asm/kmap_types.h
arch/xtensa/include/asm/kmap_types.h
include/asm-generic/kmap_types.h