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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:21 EST