Skip to contentSkip to conversation

what is the purpose of "CONFIG_DMA_IS_DMA32"?

DISCUSSION Robert P. J. Day 3 participants 3 messages Nov 27, 2006

lore
Share & tools
lore
#0 lore raw

perhaps a silly question, but:

$ grep -r "DMA_IS_DMA32" *
arch/ia64/defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/sim_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/zx1_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/tiger_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/bigsur_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/gensparse_defconfig:CONFIG_DMA_IS_DMA32=y
$

what is the purpose of a configuration symbol that is set but never involved in a conditional check?

i'm guessing that used to be a config setting in the ia64/Kconfig
file that has since vanished.

rday

#1 lore raw
Quoted 1 line · Robert P. J. Day

perhaps a silly question, but:

I added it originally, but it got obsoleted in some cleanups. It originally meant that GFP_DMA is the same as GFP_DMA32. Can be removed from ia64 i guess.

-Andi

#2 lore raw
In reply to Robert P. J. Day
Quoted 12 lines · Robert P. J. Day

perhaps a silly question, but:

$ grep -r "DMA_IS_DMA32" *
arch/ia64/defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/sim_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/zx1_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/tiger_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/bigsur_defconfig:CONFIG_DMA_IS_DMA32=y
arch/ia64/configs/gensparse_defconfig:CONFIG_DMA_IS_DMA32=y
$
Quoted 5 lines

what is the purpose of a configuration symbol that is set but never involved in a conditional check?

i'm guessing that used to be a config setting in the ia64/Kconfig
file that has since vanished.

Correct that config setting was eliminated in the 2.6.19 development cycle. Refreshing the config files would be advisable.
5A