From: Andi Kleen <ak@suse.de>
Date: Sat, 5 Nov 2005 16:25:53 +0000 (+0100)
Subject: [PATCH] x86_64: Set compatibility flag for 4GB zone on IA64
X-Git-Tag: firefly_0821_release~39986^2~44
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d1e3dfdc2c934a279bcfa19359e4daec02bda18f;p=firefly-linux-kernel-4.4.55.git

[PATCH] x86_64: Set compatibility flag for 4GB zone on IA64

IA64 traditionally had a 4GB DMA32 zone. Set the compatibility flag
to keep old drivers working.

For new drivers it would be better to use ZONE_DMA32 now.

Cc: tony.luck@intel.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index 3b4248cff9a7..3dba24c318b7 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -58,6 +58,10 @@ config IA64_UNCACHED_ALLOCATOR
 	bool
 	select GENERIC_ALLOCATOR
 
+config ZONE_DMA_IS_DMA32
+	bool
+	default y
+
 choice
 	prompt "System type"
 	default IA64_GENERIC