summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2015-02-19 12:22:02 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-07-22 09:58:02 +0200
commit8f00b3e28f73e712a2f82a15f66acd852f60e3ba (patch)
tree52fe46682c01970f8750a32dead49d7861b91e6c /arch/s390/kernel/setup.c
parent7d0c502040a23a5924d3021651cf5326c8694a77 (diff)
downloadop-kernel-dev-8f00b3e28f73e712a2f82a15f66acd852f60e3ba.zip
op-kernel-dev-8f00b3e28f73e712a2f82a15f66acd852f60e3ba.tar.gz
s390/module: enable generic CPU feature modalias using s390 ELF hwcaps
Add support for the generic CPU feature modalias implementation that wires up optional CPU features to udev-based module autoprobing. The <asm/cpufeature.h> file provides definitions to map CPU features to s390 ELF hardware capabilities. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r--arch/s390/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index ca070d2..85a1d47 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -76,7 +76,7 @@ EXPORT_SYMBOL(console_devno);
unsigned int console_irq = -1;
EXPORT_SYMBOL(console_irq);
-unsigned long elf_hwcap = 0;
+unsigned long elf_hwcap __read_mostly = 0;
char elf_platform[ELF_PLATFORM_SIZE];
int __initdata memory_end_set;
OpenPOWER on IntegriCloud