Commit 03feb9db authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] large-dma_addr_t-PAE-only.patch

From: William Lee Irwin III <wli@holomorphy.com>

I was just looking over this and noticed 2.4.x makes u64 dma_addr_t
conditional on CONFIG_HIGHMEM64G where 2.5.x uses CONFIG_HIGHMEM.  It's
clearly not necessary on CONFIG_HIGHMEM4G, hence this obvious patch.
parent 20db33b0
...@@ -51,7 +51,7 @@ typedef unsigned long long u64; ...@@ -51,7 +51,7 @@ typedef unsigned long long u64;
/* DMA addresses come in generic and 64-bit flavours. */ /* DMA addresses come in generic and 64-bit flavours. */
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM64G
typedef u64 dma_addr_t; typedef u64 dma_addr_t;
#else #else
typedef u32 dma_addr_t; typedef u32 dma_addr_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment