diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2007-02-21 10:55:18 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-21 10:55:18 +0100 |
commit | 72960a02c270950253126ee8b339afd400f55273 (patch) | |
tree | 3dec1f231bac88c2457af8a33b146b7df25df603 /arch/s390/kernel/early.c | |
parent | 6c732de2d3673e28c6a976c98ee6ba4d197a919a (diff) | |
download | op-kernel-dev-72960a02c270950253126ee8b339afd400f55273.zip op-kernel-dev-72960a02c270950253126ee8b339afd400f55273.tar.gz |
[S390] New get_cpu_id() inline assembly
Replace two stidp inline assemblies with one global implementation.
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/early.c')
-rw-r--r-- | arch/s390/kernel/early.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index e518dd5..011e8c7 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -129,7 +129,7 @@ static noinline __init void detect_machine_type(void) { struct cpuinfo_S390 *cpuinfo = &S390_lowcore.cpu_data; - asm volatile("stidp %0" : "=m" (S390_lowcore.cpu_data.cpu_id)); + get_cpu_id(&S390_lowcore.cpu_data.cpu_id); /* Running under z/VM ? */ if (cpuinfo->cpu_id.version == 0xff) |