]> git.baikalelectronics.ru Git - kernel.git/commit
ARCv2: add knob for DIV_REV in Kconfig
authorAlexey Brodkin <abrodkin@synopsys.com>
Thu, 16 Jul 2015 18:45:38 +0000 (21:45 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 20 Jul 2015 10:33:30 +0000 (13:33 +0300)
commit8304f71922d6b5705c54e83f75cf67795642687b
tree9d9dd4e73a0836a2702f98372bdb063341a01a6c
parentb590ee863b63a6154c9bb5baaf958e87d6fcd0c6
ARCv2: add knob for DIV_REV in Kconfig

Being highly configurable core ARC HS among other features might be
configured with or without DIV_REM_OPTION (hardware divider).

That option when enabled adds following instructions: div, divu, rem, remu.

By default ARC HS38 has this option enabled. So we add here possibility
to disable usage of hardware divider by compiler.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig
arch/arc/Makefile