patch for net-2.6.25
Subsystems (4)
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
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
@@ -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
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_functionisn't a define anymore that folds into nothing but a define that callsup_smp_call_functionwith 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' undeclaredSigned-off-by Heiko Carstens <[email protected]>Signed-off-by Josef 'Jeff' Sipek <[email protected]>Signed-off-by Ursula Braun <[email protected]>
Applied, thanks.