From: Miles Bader <miles@gnu.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] v850: Add definitions for memcpy_fromio and memcpy_toio
Date: Fri, 29 Oct 2004 17:15:46 +0900 (JST) [thread overview]
Message-ID: <20041029081546.0C21F4D9@mctpc71> (raw)
Signed-off-by: Miles Bader <miles@gnu.org>
include/asm-v850/io.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff -ruN -X../cludes linux-2.6.9-uc0/include/asm-v850/io.h linux-2.6.9-uc0-v850-20041028/include/asm-v850/io.h
--- linux-2.6.9-uc0/include/asm-v850/io.h 2004-02-24 18:22:54 +0900
+++ linux-2.6.9-uc0-v850-20041028/include/asm-v850/io.h 2004-10-28 13:32:47 +0900
@@ -1,8 +1,8 @@
/*
* include/asm-v850/io.h -- Misc I/O operations
*
- * Copyright (C) 2001,02,03 NEC Electronics Corporation
- * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
+ * Copyright (C) 2001,02,03,04 NEC Electronics Corporation
+ * Copyright (C) 2001,02,03,04 Miles Bader <miles@gnu.org>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
@@ -114,4 +114,7 @@
#define phys_to_virt(addr) ((void *)__phys_to_virt (addr))
#define virt_to_phys(addr) ((unsigned long)__virt_to_phys (addr))
+#define memcpy_fromio(dst, src, len) memcpy (dst, (void *)src, len)
+#define memcpy_toio(dst, src, len) memcpy ((void *)dst, src, len)
+
#endif /* __V850_IO_H__ */
reply other threads:[~2004-10-29 8:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041029081546.0C21F4D9@mctpc71 \
--to=miles@gnu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/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