linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Tom Vier <tmv@comcast.net>,
	linux-kernel@vger.kernel.org,
	Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: Linux 2.4.22-pre7
Date: Sat, 19 Jul 2003 13:41:33 +0200	[thread overview]
Message-ID: <200307191142.h6JBg7re022191@post.webmailer.de> (raw)
In-Reply-To: aNLX.6Go.5@gated-at.bofh.it

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>

       reply	other threads:[~2003-07-19 11:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <aJyM.3dH.27@gated-at.bofh.it>
     [not found] ` <aNLX.6Go.5@gated-at.bofh.it>
2003-07-19 11:41   ` Arnd Bergmann [this message]
2003-07-19 12:25     ` Linux 2.4.22-pre7 Marc-Christian Petersen
2003-07-18 19:53 Marcelo Tosatti
2003-07-18 23:06 ` Felipe Alfaro Solana
2003-07-19  0:38   ` Mike Fedyk
2003-07-19  0:53     ` Andre Tomt
2003-07-19  7:06       ` Lars Marowsky-Bree
2003-07-19  8:22     ` Christoph Hellwig
2003-07-19  8:21   ` Christoph Hellwig
2003-07-21 17:24     ` Mike Fedyk
2003-07-21 18:09       ` Christoph Hellwig
2003-07-18 23:12 ` J.A. Magallon
2003-07-18 23:18 ` J.A. Magallon
2003-07-19  0:21 ` Tom Vier
2003-07-19 16:27 ` Dick Streefland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307191142.h6JBg7re022191@post.webmailer.de \
    --to=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=tmv@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).