Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753517AbYKGSdd (ORCPT ); Fri, 7 Nov 2008 13:33:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751388AbYKGSdZ (ORCPT ); Fri, 7 Nov 2008 13:33:25 -0500 Received: from nlpi053.sbcis.sbc.com ([207.115.36.82]:55662 "EHLO nlpi053.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119AbYKGSdY (ORCPT ); Fri, 7 Nov 2008 13:33:24 -0500 Date: Fri, 7 Nov 2008 12:32:53 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@quilx.com To: Alexey Dobriyan cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, rusty@rustcorp.com.au Subject: Re: next-20081106: undefined reference to `__per_cpu_start' In-Reply-To: <20081106223417.GA26686@x200.localdomain> Message-ID: References: <20081106173645.e7e79071.sfr@canb.auug.org.au> <20081106183939.GA26925@x200.localdomain> <20081106223417.GA26686@x200.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 635 Lines: 21 On Fri, 7 Nov 2008, Alexey Dobriyan wrote: > --- a/include/linux/percpu.h > +++ b/include/linux/percpu.h > @@ -51,6 +51,8 @@ > #define DEFINE_PER_CPU_FIRST(type, name) \ > DEFINE_PER_CPU(type, name) > > +#define PERCPU_AREA_SIZE 0 > + > #endif /* !CONFIG_SMP */ > > #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(per_cpu__##var) No we need a percpu allocation area even on UP. -- 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/