diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2017-02-20 16:07:43 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-03-31 07:53:34 +0200 |
commit | 26f268ac682854345531325c7c0d803b8c573228 (patch) | |
tree | a2eee67448ea55b3540b2228db9a46c2f18581b4 /arch/s390 | |
parent | 66a49784f909cb3da54b56591979971ebb7e7cac (diff) | |
download | linux-26f268ac682854345531325c7c0d803b8c573228.tar.bz2 |
s390/cpu_mf: remove register variable in __ecctr()
Using a register variable for r4 is not necessary. Let the
compiler decide the register to be used.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/cpu_mf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/cpu_mf.h b/arch/s390/include/asm/cpu_mf.h index facdc2496c3a..05480e4cc5ca 100644 --- a/arch/s390/include/asm/cpu_mf.h +++ b/arch/s390/include/asm/cpu_mf.h @@ -174,7 +174,7 @@ static inline int lcctl(u64 ctl) /* Extract CPU counter */ static inline int __ecctr(u64 ctr, u64 *content) { - register u64 _content asm("4") = 0; + u64 _content; int cc; asm volatile ( |