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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux