Re: Linux 2.4.22-pre7

From: Arnd Bergmann (arnd@arndb.de)
Date: Sat Jul 19 2003 - 06:41:33 EST


Tom Vier wrote:

> on alpha:
>
> internal.h:19:28: asm/kmap_types.h: No such file or directory

Same on s390 and some other platforms.We should just get rid of
this problem by providing a generic kmap_types header.

Marcello, please consider this patch.

        Arnd <><

-- 

D: Add generic <asm/kmap_types.h> for all architectures that are missing it. D: This is needed to build the crypto drivers.

diff -Nru a/include/asm-generic/kmap_types.h b/include/asm-generic/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-generic/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1,22 @@ +#ifndef _ASM_KMAP_TYPES_H +#define _ASM_KMAP_TYPES_H + +/* This header defines a generic km_type that can be + * used by all architectures that do not support + * high memory. + */ + +enum km_type { + KM_BOUNCE_READ, + KM_SKB_SUNRPC_DATA, + KM_SKB_DATA_SOFTIRQ, + KM_USER0, + KM_USER1, + KM_BH_IRQ, + KM_SOFTIRQ0, + KM_SOFTIRQ1, + + KM_TYPE_NR +}; + +#endif diff -Nru a/include/asm-alpha/kmap_types.h b/include/asm-alpha/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-alpha/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-arm/kmap_types.h b/include/asm-arm/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-arm/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-cris/kmap_types.h b/include/asm-cris/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-cris/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-ia64/kmap_types.h b/include/asm-ia64/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-ia64/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-s390/kmap_types.h b/include/asm-s390/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-s390/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-s390x/kmap_types.h b/include/asm-s390x/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-s390x/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-sh/kmap_types.h b/include/asm-sh/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-sh/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> diff -Nru a/include/asm-sh64/kmap_types.h b/include/asm-sh64/kmap_types.h --- /dev/null Wed Dec 31 16:00:00 1969 +++ b/include/asm-sh64/kmap_types.h Sat Jul 19 13:33:30 2003 @@ -0,0 +1 @@ +#include <asm-generic/kmap_types.h> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:37 EST