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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Mar 2014 18:01:36 +0000 (18:01 +0000)
commit3be1a5c4f75989cf457f13f38ff0913dff6d4996
tree312f3bbfa0c6e783ea01078a701ce95667aabcbf
parent7184659bed3090248e382d98a49a3c1bcfe11174
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>
arch/arm64/Kconfig
arch/arm64/include/asm/cpufeature.h [new file with mode: 0644]