From: Erlend Aasland <erlend-a@innova.no>
To: Felipe Alfaro Solana <falfaro@borak.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.23 won't compile
Date: Thu, 20 Jun 2002 15:07:30 +0200 [thread overview]
Message-ID: <20020620150730.A12658@innova.no> (raw)
In-Reply-To: <3D11CDED.4070106@borak.es>; from falfaro@borak.es on Thu, Jun 20, 2002 at 02:43:25PM +0200
On Thu, Jun 20, 2002 at 02:43:25PM +0200, Felipe Alfaro Solana wrote:
> sched.c: In function `sys_sched_getaffinity':
> sched.c:1391: `cpu_online_map' undeclared (first use in this function)
This was fixed by Linus with this patch (it is in Linus' BK repository):
--- a/include/linux/smp.h Wed Jun 19 00:00:41 2002
+++ b/include/linux/smp.h Wed Jun 19 00:00:41 2002
@@ -86,6 +86,7 @@
#define smp_call_function(func,info,retry,wait) ({ 0; })
static inline void smp_send_reschedule(int cpu) { }
static inline void smp_send_reschedule_all(void) { }
+#define cpu_online_map 1
#define cpu_online(cpu) 1
#define num_online_cpus() 1
#define __per_cpu_data
Mvh Erlend Aasland
P.S. BTW, this has already been asked twice on this list:
http://marc.theaimsgroup.com/?l=linux-kernel&m=102447447725526&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=102445697313894&w=2
The linux-kernel archives at http://marc.theaimsgroup.com/?l=linux-kernel
is a nice place to check if somebody already has asked a question.
next prev parent reply other threads:[~2002-06-20 13:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-20 12:43 2.5.23 won't compile Felipe Alfaro Solana
2002-06-20 13:07 ` Erlend Aasland [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-20 12:41 Felipe Alfaro Solana
2002-06-20 12:57 ` Adrian Bunk
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=20020620150730.A12658@innova.no \
--to=erlend-a@innova.no \
--cc=falfaro@borak.es \
--cc=linux-kernel@vger.kernel.org \
/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