Re: [PATCH] kmap_types: make most arches use generic header file

From: Mike Frysinger
Date: Mon Apr 20 2009 - 10:38:34 EST


On Fri, Apr 17, 2009 at 21:32, Randy Dunlap wrote:
> --- linux-2.6.30-rc2-git1.orig/arch/blackfin/include/asm/kmap_types.h
> +++ linux-2.6.30-rc2-git1/arch/blackfin/include/asm/kmap_types.h
> @@ -1,21 +1,6 @@
> Â#ifndef _ASM_KMAP_TYPES_H
> Â#define _ASM_KMAP_TYPES_H
>
> -enum km_type {
> - Â Â Â KM_BOUNCE_READ,
> - Â Â Â KM_SKB_SUNRPC_DATA,
> - Â Â Â KM_SKB_DATA_SOFTIRQ,
> - Â Â Â KM_USER0,
> - Â Â Â KM_USER1,
> - Â Â Â KM_BIO_SRC_IRQ,
> - Â Â Â KM_BIO_DST_IRQ,
> - Â Â Â KM_PTE0,
> - Â Â Â KM_PTE1,
> - Â Â Â KM_IRQ0,
> - Â Â Â KM_IRQ1,
> - Â Â Â KM_SOFTIRQ0,
> - Â Â Â KM_SOFTIRQ1,
> - Â Â Â KM_TYPE_NR
> -};
> +#include <asm-generic/kmap_types.h>
>
> Â#endif

if the header is only there to redirect to the generic one, seems like
we could drop the #ifdef protection

Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
-mike
--
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/