Commit d051ae53 authored by Heiko Carstens's avatar Heiko Carstens Committed by Christian Borntraeger

KVM: s390: get rid of bogus cc initialization

The plo inline assembly has a cc output operand that is always written
to and is also as such an operand declared. Therefore the compiler is
free to omit the rather pointless and misleading initialization.

Get rid of this.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent cd1836f5
...@@ -217,7 +217,7 @@ static void allow_cpu_feat(unsigned long nr) ...@@ -217,7 +217,7 @@ static void allow_cpu_feat(unsigned long nr)
static inline int plo_test_bit(unsigned char nr) static inline int plo_test_bit(unsigned char nr)
{ {
register unsigned long r0 asm("0") = (unsigned long) nr | 0x100; register unsigned long r0 asm("0") = (unsigned long) nr | 0x100;
int cc = 3; /* subfunction not available */ int cc;
asm volatile( asm volatile(
/* Parameter registers are ignored for "test bit" */ /* Parameter registers are ignored for "test bit" */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment