提交 26f268ac 编写于 作者: H Hendrik Brueckner 提交者: Martin Schwidefsky

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: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 66a49784
...@@ -174,7 +174,7 @@ static inline int lcctl(u64 ctl) ...@@ -174,7 +174,7 @@ static inline int lcctl(u64 ctl)
/* Extract CPU counter */ /* Extract CPU counter */
static inline int __ecctr(u64 ctr, u64 *content) static inline int __ecctr(u64 ctr, u64 *content)
{ {
register u64 _content asm("4") = 0; u64 _content;
int cc; int cc;
asm volatile ( asm volatile (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册