Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 14 Feb 2003 04:24:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 14 Feb 2003 04:24:45 -0500 Received: from modemcable092.130-200-24.mtl.mc.videotron.ca ([24.200.130.92]:29011 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id ; Fri, 14 Feb 2003 04:24:44 -0500 Date: Fri, 14 Feb 2003 04:33:15 -0500 (EST) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: Linux Kernel cc: Linus Torvalds Subject: [PATCH][2.5][1/14] smp_call_function_on_cpu - generic definitions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 33 Index: linux-2.5.60/include/linux/smp.h =================================================================== RCS file: /build/cvsroot/linux-2.5.60/include/linux/smp.h,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 smp.h --- linux-2.5.60/include/linux/smp.h 10 Feb 2003 22:17:13 -0000 1.1.1.1 +++ linux-2.5.60/include/linux/smp.h 14 Feb 2003 05:34:46 -0000 @@ -54,6 +54,12 @@ int retry, int wait); /* + * Call a function on arbitrary processors encapsulated in a bitmask + */ +extern int smp_call_function_on_cpu (void (*func) (void *info), void *info, + int wait, unsigned long mask); + +/* * True once the per process idle is forked */ extern int smp_threads_ready; @@ -96,6 +102,7 @@ #define hard_smp_processor_id() 0 #define smp_threads_ready 1 #define smp_call_function(func,info,retry,wait) ({ 0; }) +#define smp_call_function_on_cpu(func,info,wait,mask) ({ 0; }) static inline void smp_send_reschedule(int cpu) { } static inline void smp_send_reschedule_all(void) { } #define cpu_online_map 1 - 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/