From: Hendrik Brueckner Date: Mon, 20 Feb 2017 15:07:43 +0000 (+0100) Subject: s390/cpu_mf: remove register variable in __ecctr() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26f268ac682854345531325c7c0d803b8c573228;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Hendrik Brueckner Signed-off-by: Martin Schwidefsky --- 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 (