mirror of https://gitee.com/openkylin/linux.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 <heiko.carstens@de.ibm.com> Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
66a49784f9
commit
26f268ac68
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue