Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266004AbTGSLbh (ORCPT ); Sat, 19 Jul 2003 07:31:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266018AbTGSLbh (ORCPT ); Sat, 19 Jul 2003 07:31:37 -0400 Received: from natsmtp00.webmailer.de ([192.67.198.74]:30696 "EHLO post.webmailer.de") by vger.kernel.org with ESMTP id S266004AbTGSLbf (ORCPT ); Sat, 19 Jul 2003 07:31:35 -0400 Message-Id: <200307191142.h6JBg7re022191@post.webmailer.de> From: Arnd Bergmann Subject: Re: Linux 2.4.22-pre7 To: Tom Vier , linux-kernel@vger.kernel.org, Marcelo Tosatti Date: Sat, 19 Jul 2003 13:41:33 +0200 References: User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3110 Lines: 84 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 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 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 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 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 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 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 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 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 - 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/