Skip to contentSkip to conversation

asm-x86/byteorder.h, CONFIG_X86_BSWAP leaks to userland

DISCUSSION Olaf Hering 1 participant 1 message Jul 21, 2008

lore
Share & tools
lore
#0 lore raw

What is the purpose of CONFIG_X86_BSWAP in asm-x86/byteorder.h?

An undefined CONFIG_foo defaults to 0 (I think), so bswap is never used. Is this done on purpose, or can the CONFIG_ foo be moved inside __KERNEL__ somehow?

Olaf