]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: Use IS_ENABLED instead of #ifdefs to check config symbols
authorTobias Klauser <tklauser@distanz.ch>
Mon, 17 Nov 2014 10:30:37 +0000 (18:30 +0800)
committerLey Foon Tan <lftan@altera.com>
Mon, 8 Dec 2014 04:56:07 +0000 (12:56 +0800)
commit32c04a90d66f9af1e0715c9328a42d5654a02864
tree90e4bfb7904fe3b9cfcc4d913576dc05bedceed6
parent4421a992336afb7ca3fc8bf940f495dffb9d976a
nios2: Use IS_ENABLED instead of #ifdefs to check config symbols

Make the checking for div/mul/mulx instruction config symbols easier to
read by using IS_ENABLED instead of #ifdefs.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/kernel/cpuinfo.c