summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2017-02-20 16:07:43 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-03-31 07:53:34 +0200
commit26f268ac682854345531325c7c0d803b8c573228 (patch)
treea2eee67448ea55b3540b2228db9a46c2f18581b4
parent66a49784f909cb3da54b56591979971ebb7e7cac (diff)
downloadlinux-stable-26f268ac682854345531325c7c0d803b8c573228.tar.gz
linux-stable-26f268ac682854345531325c7c0d803b8c573228.tar.bz2
linux-stable-26f268ac682854345531325c7c0d803b8c573228.zip
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>
-rw-r--r--arch/s390/include/asm/cpu_mf.h2
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 (