diff mbox

[3/3] arch/s390/kvm: Use GFP_ATOMIC when a lock is held

Message ID Pine.LNX.4.64.1005302227470.19253@ask.diku.dk (mailing list archive)
State New, archived
Headers show

Commit Message

Julia Lawall May 30, 2010, 8:28 p.m. UTC
None
diff mbox

Patch

diff -u -p a/arch/s390/kvm/sigp.c b/arch/s390/kvm/sigp.c
--- a/arch/s390/kvm/sigp.c
+++ b/arch/s390/kvm/sigp.c
@@ -113,7 +113,7 @@  static int __inject_sigp_stop(struct kvm
 {
 	struct kvm_s390_interrupt_info *inti;
 
-	inti = kzalloc(sizeof(*inti), GFP_KERNEL);
+	inti = kzalloc(sizeof(*inti), GFP_ATOMIC);
 	if (!inti)
 		return -ENOMEM;
 	inti->type = KVM_S390_SIGP_STOP;