Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755302AbZGVX2j (ORCPT ); Wed, 22 Jul 2009 19:28:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754885AbZGVX2j (ORCPT ); Wed, 22 Jul 2009 19:28:39 -0400 Received: from mail-qy0-f173.google.com ([209.85.221.173]:33860 "EHLO mail-qy0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803AbZGVX2i (ORCPT ); Wed, 22 Jul 2009 19:28:38 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=EH7+2UUPFQ31+2O/0uN0/hWhAnjRfucs11u7IrMEHIUV0oghC9tDTHvrNys6+HkeGk R2rq0QFX5hRKWxW3nevoWe3i5H2m8otv2Tpm4oyRGSzOkSvJgVNGwFePU1SNDod+0KeP xtJsEHeJYi7b1chcqeEa3gV5hL4ua/zfwnRIo= Message-ID: <4A67A0A2.40503@gmail.com> Date: Wed, 22 Jul 2009 20:28:34 -0300 From: Kevin Winchester User-Agent: Thunderbird 2.0.0.22 (X11/20090626) MIME-Version: 1.0 To: Thomas Gleixner CC: Linus Torvalds , Andrew Morton , LKML Subject: Re: [GIT pull] genirq fixes for 2.6.31 References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 792 Lines: 28 Thomas Gleixner wrote: > +/* > * Interrupt handler thread > */ > static int irq_thread(void *data) > @@ -458,6 +494,8 @@ static int irq_thread(void *data) > > while (!irq_wait_for_interrupt(action)) { > > + irq_thread_check_affinity(desc, action); > + > atomic_inc(&desc->threads_active); > > spin_lock_irq(&desc->lock); Any chance we could do this in a way that doesn't break the build for CONFIG_SMP=n? :) Should this call simply be wrapped in an #ifdef, or should the function be defined for !SMP? -- Kevin Winchester -- 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/