Fix Kconfig of DMA32 for ia64
PATCH 1/1 Fix Kconfig of DMA32 for ia64
Andew-san.
I realized ZONE_DMA32 on -mm has a trivial bug at Kconfig for ia64. In include/linux/gfp.h on 2.6.15-rc5-mm1, CONFIG is define like followings.
#ifdef CONFIG_DMA_IS_DMA32
#define __GFP_DMA32 ((__force gfp_t)0x01) /* ZONE_DMA is ZONE_DMA32
*/
:
:So, CONFIG_"ZONE"_DMA_IS_DMA32 is clearly wrong.
This is patch for it.
Thanks.
arch/ia64/Kconfig +1 -1
@@ -58,7 +58,7 @@ config IA64_UNCACHED_ALLOCATOR bool select GENERIC_ALLOCATOR -config ZONE_DMA_IS_DMA32 +config DMA_IS_DMA32 bool default y
Signature · 8 lines
Yasunori Goto -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 25 lines · Yasunori Goto
Andew-san.
I realized
ZONE_DMA32on -mm has a trivial bug atKconfigfor ia64. Ininclude/linux/gfp.hon 2.6.15-rc5-mm1, CONFIG is define like followings.#ifdef
CONFIG_DMA_IS_DMA32
#define__GFP_DMA32((__forcegfp_t)0x01) /*ZONE_DMAisZONE_DMA32
*/: :So, CONFIG_"ZONE"_DMA_IS_DMA32 is clearly wrong.
This is patch for it.Thanks.
Signed-off-by Yasunori Goto <[email protected]>Index: zone_reclaim/arch/ia64/Kconfig
===================================================================
arch/ia64/Kconfig config IA64_UNCACHED_ALLOCATOR · line 64
Quoted 8 lines
arch/ia64/Kconfig +1
-1@@ -58,7 +58,7 @@ config IA64_UNCACHED_ALLOCATOR bool select GENERIC_ALLOCATOR -config ZONE_DMA_IS_DMA32 +config DMA_IS_DMA32 bool default y
Thanks.
Tony, nothing in ia64 land seems to be using this, so no testing should be needed - I'll queue this up for 2.6.15.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Yasunori Goto
Andew-san.
I realized
ZONE_DMA32on -mm has a trivial bug atKconfigfor ia64. Ininclude/linux/gfp.hon 2.6.15-rc5-mm1, CONFIG is define like followings.
Quoted 8 lines
#ifdef
CONFIG_DMA_IS_DMA32
#define__GFP_DMA32((__forcegfp_t)0x01) /*ZONE_DMAisZONE_DMA32
*/: :So, CONFIG_"ZONE"_DMA_IS_DMA32 is clearly wrong.
This is patch for it.
Given that apparently no one cared we should just kill it and give ia64 a proper ZONE_DMA32 post 2.6.15. No one else tried to use it anyway.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>