From: Stephen Boyd Date: Mon, 18 Mar 2013 18:44:15 +0000 (+0100) Subject: ARM: 7680/1: Detect support for SDIV/UDIV from ISAR0 register X-Git-Tag: v3.9-rc6~22^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8164f7af88d9ad3a757bd14f634b23997ee77f6b;p=pandora-kernel.git ARM: 7680/1: Detect support for SDIV/UDIV from ISAR0 register The ISAR0 register indicates support for the SDIV and UDIV instructions in both the Thumb and ARM instruction set. Read the register to detect the supported instructions and update the elf_hwcap mask as appropriate. This is better than adding more and more cpuid checks in proc-v7.S for each new cpu variant that supports these instructions. Acked-by: Will Deacon Cc: Stepan Moskovchenko Signed-off-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed