Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753525Ab2BTPLp (ORCPT ); Mon, 20 Feb 2012 10:11:45 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:49118 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753235Ab2BTPLn (ORCPT ); Mon, 20 Feb 2012 10:11:43 -0500 Authentication-Results: mr.google.com; spf=pass (google.com: domain of xiyou.wangcong@gmail.com designates 10.68.73.138 as permitted sender) smtp.mail=xiyou.wangcong@gmail.com; dkim=pass header.i=xiyou.wangcong@gmail.com Message-ID: <4F4262A4.9000204@gmail.com> Date: Mon, 20 Feb 2012 23:11:32 +0800 From: Cong Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Tao Jiang CC: linux-kernel@vger.kernel.org Subject: Re: A problem with percpu variable cpu_number References: <4F411373.50304@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 513 Lines: 13 On 02/20/2012 07:04 PM, Tao Jiang wrote: > > I read the macor DEFINE_PER_CPU > it's decorated by some percpu attributes > it will be put in section .data..percpu in init section .data..percpu is not .init section, the .init sections should all have ".init.*" names. -- 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/