From: "Josef 'Jeff' Sipek" <jeffpc@josefsipek.net>
To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: "Josef 'Jeff' Sipek" <jeffpc@josefsipek.net>,
ubraun@linux.vnet.ibm.com, blaschka@linux.vnet.ibm.com
Subject: [PATCH 1/1] iucv: Fix compilation with !CONFIG_SMP
Date: Fri, 29 Feb 2008 17:30:41 -0500 [thread overview]
Message-ID: <1204324241-2276-1-git-send-email-jeffpc@josefsipek.net> (raw)
CC [M] net/iucv/iucv.o
net/iucv/iucv.c: In function `iucv_cleanup_queue':
net/iucv/iucv.c:657: error: `__iucv_cleanup_queue' undeclared (first use in this function)
With !CONFIG_SMP the smp_call_function call turns into up_smp_call_function
call which is just a return 0. Unfortunately, since up_smp_call_function is
a static inline, the __iucv_cleanup_queue symbol is referenced.
Cc: ubraun@linux.vnet.ibm.com
Cc: blaschka@linux.vnet.ibm.com
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
---
net/iucv/iucv.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 2753b0c..d764f4c 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -621,7 +621,6 @@ static int iucv_sever_pathid(u16 pathid, u8 userdata[16])
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, u8 userdata[16])
static void __iucv_cleanup_queue(void *dummy)
{
}
-#endif
/**
* iucv_cleanup_queue
--
1.5.4.2
reply other threads:[~2008-03-01 23:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1204324241-2276-1-git-send-email-jeffpc@josefsipek.net \
--to=jeffpc@josefsipek.net \
--cc=blaschka@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=ubraun@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®