Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@convergence.de>
To: linux-mips@oss.sgi.com
Subject: PATCH: dma_addr_t 32/64bit mix-up
Date: Tue, 16 Jul 2002 18:03:27 +0200	[thread overview]
Message-ID: <20020716160327.GA12079@convergence.de> (raw)

Hi,

the following patch applies to the linux_2_4 branch.

Index: linux/include/asm-mips/types.h
===================================================================
RCS file: /cvs/linux/include/asm-mips/types.h,v
retrieving revision 1.6.2.4
diff -u -r1.6.2.4 types.h
--- linux/include/asm-mips/types.h	2002/06/26 22:36:37	1.6.2.4
+++ linux/include/asm-mips/types.h	2002/07/16 15:48:06
@@ -72,9 +72,9 @@
 #define BITS_PER_LONG _MIPS_SZLONG
 
 #ifdef CONFIG_64BIT_PHYS_ADDR
-typedef u32 dma_addr_t;
-#else
 typedef u64 dma_addr_t;
+#else
+typedef u32 dma_addr_t;
 #endif
 typedef u64 dma64_addr_t;


Johannes

             reply	other threads:[~2002-07-16 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-16 16:03 Johannes Stezenbach [this message]
2002-07-17 14:00 ` PATCH: dma_addr_t 32/64bit mix-up Ralf Baechle

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=20020716160327.GA12079@convergence.de \
    --to=js@convergence.de \
    --cc=linux-mips@oss.sgi.com \
    /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