]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Enable asm optimization only for HW with barrel-shifter
authorMichal Simek <monstr@monstr.eu>
Mon, 26 Oct 2009 08:56:48 +0000 (09:56 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:45:01 +0000 (08:45 +0100)
commit5e1afc0274f6faaac7e62fefe3431e45a9ad8570
tree4953836efbe75ab25c68018a8588bf662ffe64f8
parentb1543011e5db78bdc98a47113a5fa0a414a74252
microblaze: Enable asm optimization only for HW with barrel-shifter

Asm code uses barrel-shifter instruction that's why we have
to protect cases when HW don't have it.

Reported-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/platform/Kconfig.platform