ARM: Remove any use of environment variables for cpu features detection
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Sun, 7 Feb 2010 05:33:52 +0000 (07:33 +0200)
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sat, 13 Feb 2010 15:44:49 +0000 (17:44 +0200)
commitcf1f034fef34478c528bedf1e59be443fa72429c
tree6211ad54fcfd018262c8f247d3bbec70d5e9adf1
parent865c37d57421f6888151486ae1a2ec986a7cd9d2
ARM: Remove any use of environment variables for cpu features detection

Old code assumed that all ARMv7 processors support NEON instructions
unless overrided by environment variable ARM_TRUST_HWCAP. This causes
X server to die with SIGILL if NEON support is disabled in the kernel
configuration. Additionally, ARMv7 processors lacking NEON unit are
going to become available eventually.

The problem was reported by user bearsh at irc.freenode.net #gentoo-embedded
pixman/pixman-cpu.c