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)
committerMark Brown <broonie@linaro.org>
Mon, 16 Jun 2014 17:11:35 +0000 (18:11 +0100)
commit581a6bd433c6ec65fdb5b4667258a8b275ae5c96
tree0bde60a19ca6b764b87e8e3ef529da38c2b9f1fe
parent126ef42a10e491015dcb40477b042db50c3d2acf
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>
(cherry picked from commit 3be1a5c4f75989cf457f13f38ff0913dff6d4996)
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
arch/arm64/Kconfig
arch/arm64/Kconfig
arch/arm64/include/asm/cpufeature.h [new file with mode: 0644]