]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: iWMMXt: always enable iWMMXt support with PJ4 CPUs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Apr 2013 15:33:26 +0000 (16:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Apr 2013 15:40:33 +0000 (16:40 +0100)
commit2a7ec196c9ebf4a7a9e503d76af2edce7e104715
treecba7289e384056c3e714828ece2f2797b10f33ce
parente6f19783d0cc33fb3bb9a5e20ce32b012ef984f7
ARM: iWMMXt: always enable iWMMXt support with PJ4 CPUs

Jason Cooper reports these build errors:
arch/arm/kernel/built-in.o: In function `iwmmxt_do':
/.../arch/arm/kernel/pj4-cp0.c:36: undefined reference to `iwmmxt_task_release'
/.../arch/arm/kernel/pj4-cp0.c:40: undefined reference to `iwmmxt_task_switch'
make: *** [vmlinux] Error 1

This is caused because the PJ4 code explicitly references the iWMMXt
code, but doesn't require it to be built.  Fix this by ensuring that
iWMMXt is always enabled with PJ4.

Reported-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig