#ifndef __ASM_GENERIC_BITS_PER_LONG #define __ASM_GENERIC_BITS_PER_LONG #include #ifdef CONFIG_64BIT #define BITS_PER_LONG 64 #else #define BITS_PER_LONG 32 #endif /* CONFIG_64BIT */ /* * FIXME: The check currently breaks x86-64 build, so it's * temporarily disabled. Please fix x86-64 and reenable */ #if 0 && BITS_PER_LONG != __BITS_PER_LONG #error Inconsistent word size. Check asm/bitsperlong.h #endif #ifndef BITS_PER_LONG_LONG #define BITS_PER_LONG_LONG 64 #endif #endif /* __ASM_GENERIC_BITS_PER_LONG */ '>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-11-21 12:48:32 -0200
committerMark Brown <broonie@linaro.org>2013-11-27 18:21:44 +0000
commit3f3002692ce8fa1e9b257183ea1a36baacfdcfcf (patch)
tree0c4c21824181113b7e18a3ff2db48f1046a00e08
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
AsoC: wm9081: Use IS_ENABLED() macro
Using the IS_ENABLED() macro can make the code shorter and simpler. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>