[kvm-unit-tests PATCH v1 3/5] s390x: make sure cpacf.h can be used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't define BUG(), just use a return instead.

Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
---
 lib/s390x/asm/cpacf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/s390x/asm/cpacf.h b/lib/s390x/asm/cpacf.h
index e06f255..ae2ec53 100644
--- a/lib/s390x/asm/cpacf.h
+++ b/lib/s390x/asm/cpacf.h
@@ -179,7 +179,7 @@ static inline int __cpacf_check_opcode(unsigned int opcode)
 	case CPACF_PRNO:
 		return test_facility(57);	/* check for MSA5 */
 	default:
-		BUG();
+		return 0;
 	}
 }
 
-- 
2.13.5




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux