Linux MIPS Architecture development
 help / color / mirror / Atom feed
* PATCH: dma_addr_t 32/64bit mix-up
@ 2002-07-16 16:03 Johannes Stezenbach
  2002-07-17 14:00 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Stezenbach @ 2002-07-16 16:03 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: dma_addr_t 32/64bit mix-up
  2002-07-16 16:03 PATCH: dma_addr_t 32/64bit mix-up Johannes Stezenbach
@ 2002-07-17 14:00 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2002-07-17 14:00 UTC (permalink / raw)
  To: Johannes Stezenbach; +Cc: linux-mips

On Tue, Jul 16, 2002 at 06:03:27PM +0200, Johannes Stezenbach wrote:

> the following patch applies to the linux_2_4 branch.

Thanks for noticing.  The fix isn't entirely right, the condition should be
defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR).

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-17 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-16 16:03 PATCH: dma_addr_t 32/64bit mix-up Johannes Stezenbach
2002-07-17 14:00 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox