Skip to contentSkip to conversation

patch for net-2.6.25

PATCH Applied Ursula Braun 2 participants 3 messages Mar 3, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover patch for net-2.6.25

Signature · 8 lines
Dave,

this patch is intended for 2.6.25.
It enables compilation of net/iucv/iucv.c with !CONFIG_SMP.
Thanks to Jeff Sipek and Heiko Carstens.

Regards,
Ursula Braun
#1 lore raw

PATCH 1/1 iucv: fix build error on !SMP

From: Heiko Carstens <[email protected]>
From: Josef 'Jeff' Sipek <[email protected]>

Since a5fbb6d1064be885d2a6b82f625186753cf74848
"KVM: fix !SMP build error" smp_call_function isn't a define anymore that folds into nothing but a define that calls up_smp_call_function with all parameters. Hence we cannot #ifdef out the unused code anymore...
This seems to be the preferred method, so do this for s390 as well.

net/iucv/iucv.c: In function 'iucv_cleanup_queue':
net/iucv/iucv.c:657: error: '__iucv_cleanup_queue' undeclared

---

 net/iucv/iucv.c |    2 --
 1 file changed, 2 deletions(-)
net/iucv/iucv.c +0 -2
diff -urpN linux-2.6/net/iucv/iucv.c linux-2.6-patched/net/iucv/iucv.c
@@ -621,7 +621,6 @@ static int iucv_sever_pathid(u16 pathid,
 	return iucv_call_b2f0(IUCV_SEVER, parm);
 }
 
-#ifdef CONFIG_SMP
 /**
  * __iucv_cleanup_queue
  * @dummy: unused dummy argument
@@ -632,7 +631,6 @@ static int iucv_sever_pathid(u16 pathid,
 static void __iucv_cleanup_queue(void *dummy)
 {
 }
-#endif
 
 /**
  * iucv_cleanup_queue
maintainer Applied
#2 lore raw

Re: [patch 1/1] iucv: fix build error on !SMP

From: Ursula Braun <[email protected]>
Date: Mon, 03 Mar 2008 14:16:11 +0100

Quoted 7 lines

Since a5fbb6d1064be885d2a6b82f625186753cf74848
"KVM: fix !SMP build error" smp_call_function isn't a define anymore that folds into nothing but a define that calls up_smp_call_function with all parameters. Hence we cannot #ifdef out the unused code anymore...
This seems to be the preferred method, so do this for s390 as well.

Quoted 6 lines

net/iucv/iucv.c: In function 'iucv_cleanup_queue':
net/iucv/iucv.c:657: error: '__iucv_cleanup_queue' undeclared

Applied, thanks.