arm64: enable generic CPU feature modalias matching for this architecture
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Mar 2014 01:10:04 +0000 (01:10 +0000)
committerJP Abgrall <jpa@google.com>
Thu, 28 Aug 2014 17:24:28 +0000 (10:24 -0700)
commit84d391c5bf867c5e0a615cfa277eb8eb5b6d6453
treed6c9dfa77da53fbcd7fc61721beb4b16c805bae2
parent15aaa954da86024fa1b4e1c26b162fb7be84d2df
arm64: enable generic CPU feature modalias matching for this architecture

This enables support for the generic CPU feature modalias implementation that
wires up optional CPU features to udev based module autoprobing.

A file <asm/cpufeature.h> is provided that maps CPU feature numbers to
elf_hwcap bits, which is the standard way on arm64 to advertise optional CPU
features both internally and to user space.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
[catalin.marinas@arm.com: removed unnecessary "!!"]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Conflicts:
arch/arm64/Kconfig

Change-Id: Ief16b3197cd0564d8cf8aa82e9614bcda6399fe5
arch/arm64/Kconfig
arch/arm64/include/asm/cpufeature.h [new file with mode: 0644]