Re: [PATCH v2] kmap_types: convert most arches to a single headerfile

From: Amerigo Wang
Date: Thu Jun 04 2009 - 20:41:36 EST


On Thu, Jun 04, 2009 at 11:00:16AM -0700, Randy Dunlap wrote:
>From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>Subject: kmap_types: make most arches use generic header file
>
>Convert most arches (*except frv*) to use asm-generic/kmap_types.h.
>Each arch still has its own kmap_types.h for customization if
>needed (like frv).
>
>KM_FENCE is now controlled by CONFIG_HIGHMEM.
>
>Built on x86_64, i386, mips, sparc32, sparc64,
>alpha, powerpc64, ia64, and m68k.
>
>Note: Removed KM_PTE2 from generic kmap_types.h file; it was defined
>but not used by avr32.
>
>Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>Cc: <linux-arch@xxxxxxxxxxxxxxx>
>Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
>Cc: Richard Henderson <rth@xxxxxxxxxxx>
>Cc: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>
>Cc: Bryan Wu <cooloney@xxxxxxxxxx>
>Cc: Mikael Starvik <starvik@xxxxxxxx>
>Cc: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
>Cc: "Luck Tony" <tony.luck@xxxxxxxxx>
>Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
>Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
>Cc: David Howells <dhowells@xxxxxxxxxx>
>Cc: Kyle McMartin <kyle@xxxxxxxxxxx>
>Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
>Cc: Paul Mundt <lethal@xxxxxxxxxxxx>
>Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
>Cc: Ingo Molnar <mingo@xxxxxxx>
>Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
>Cc: Arnd Bergmann <arnd@xxxxxxxx>

UML only uses KM_TYPE_NR and KM_UML_USERCOPY, so
this patch should be fine for UML.

Acked-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/