]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 9 Sep 2013 14:08:38 +0000 (15:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Sep 2013 14:24:47 +0000 (15:24 +0100)
commit817f278b4001fc3babb6fc4075e7563edbc1f6f1
tree649ad8e2fbed094eac854b3a29965add42730de3
parent9dfb7f7373c21ab1bdce8cdc6507ef0b166eb0a1
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled

Commit e8716cc introduced a NEON accelerated version of the xor_blocks()
function, but it needs the changes in this patch to allow it to be built
as a module rather than statically into the kernel.

This patch creates a separate module xor-neon.ko which exports the NEON
inner xor_blocks() functions depended upon by the regular xor.ko if it
is built with CONFIG_KERNEL_MODE_NEON=y

Reported-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/Makefile
arch/arm/lib/xor-neon.c