]> 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)
commit078a21ad8bcba144c0fe8eb7220a7ccc00211a15
tree90e4bfb7904fe3b9cfcc4d913576dc05bedceed6
parentc23401b3f4fdf9bb559cf89dcca4dacc6a875e44
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