Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759044AbYFBMaR (ORCPT ); Mon, 2 Jun 2008 08:30:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753360AbYFBM37 (ORCPT ); Mon, 2 Jun 2008 08:29:59 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:58827 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752649AbYFBM36 (ORCPT ); Mon, 2 Jun 2008 08:29:58 -0400 Date: Mon, 2 Jun 2008 13:29:35 +0100 From: Russell King To: Jens Axboe Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, npiggin@suse.de, linux-arch@vger.kernel.org, jeremy@goop.org, mingo@elte.hu, paulmck@linux.vnet.ibm.com Subject: Re: [PATCH 6/10] arm: convert to generic helpers for IPI function calls Message-ID: <20080602122935.GB27125@flint.arm.linux.org.uk> Mail-Followup-To: Jens Axboe , linux-kernel@vger.kernel.org, peterz@infradead.org, npiggin@suse.de, linux-arch@vger.kernel.org, jeremy@goop.org, mingo@elte.hu, paulmck@linux.vnet.ibm.com References: <1212051504-12561-1-git-send-email-jens.axboe@oracle.com> <1212051504-12561-7-git-send-email-jens.axboe@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1212051504-12561-7-git-send-email-jens.axboe@oracle.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 23 On Thu, May 29, 2008 at 10:58:20AM +0200, Jens Axboe wrote: > This converts arm to use the new helpers for smp_call_function() and > friends, and adds support for smp_call_function_single(). > +void arch_send_call_function_ipi(cpumask_t mask) > { > - return smp_call_function_on_cpu(func, info, retry, wait, > - cpu_online_map); > + send_ipi_message(mask, IPI_CALL_FUNC); > } Can things like the above be inline functions to be included in the generic code? -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- 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/