From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hanjun Guo Subject: Re: [PATCH 02/20] ARM64 : Add dummy asm/cpu.h Date: Fri, 24 Jan 2014 22:41:37 +0800 Message-ID: <52E27BA1.4080909@linaro.org> References: <1389961514-13562-1-git-send-email-hanjun.guo@linaro.org> <1389961514-13562-3-git-send-email-hanjun.guo@linaro.org> <20140123161505.GB23939@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-pd0-f171.google.com ([209.85.192.171]:56774 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbaAXOlo (ORCPT ); Fri, 24 Jan 2014 09:41:44 -0500 Received: by mail-pd0-f171.google.com with SMTP id g10so3203216pdj.30 for ; Fri, 24 Jan 2014 06:41:43 -0800 (PST) In-Reply-To: <20140123161505.GB23939@localhost> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Catalin Marinas Cc: "Rafael J. Wysocki" , Will Deacon , Russell King - ARM Linux , "linux-acpi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "grant.likely@linaro.org" , Matthew Garrett , Olof Johansson , Linus Walleij , Bjorn Helgaas , Rob Herring , Mark Rutland , Arnd Bergmann , "patches@linaro.org" , "linux-kernel@vger.kernel.org" , "linaro-kernel@lists.linaro.org" , "linaro-acpi@lists.linaro.org" , Charles Garcia-Tobin , graeme.gregory@lin On 2014=E5=B9=B401=E6=9C=8824=E6=97=A5 00:15, Catalin Marinas wrote: > On Fri, Jan 17, 2014 at 12:24:56PM +0000, Hanjun Guo wrote: >> ACPI requires a cpu.h, add a dummy one copied from arm. This will ne= ed >> updated or replaced as ACPI based cpu hotplug or cpu topology for ar= mv8 >> is worked out. >> >> Signed-off-by: Graeme Gregory >> Signed-off-by: Hanjun Guo >> --- >> arch/arm64/include/asm/cpu.h | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >> create mode 100644 arch/arm64/include/asm/cpu.h >> >> diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/c= pu.h >> new file mode 100644 >> index 0000000..8625eb1 >> --- /dev/null >> +++ b/arch/arm64/include/asm/cpu.h >> @@ -0,0 +1,25 @@ >> +/* >> + * Copyright (C) 2004-2005 ARM Ltd. >> + * >> + * This program is free software; you can redistribute it and/or mo= dify >> + * it under the terms of the GNU General Public License version 2 a= s >> + * published by the Free Software Foundation. >> + */ >> +#ifndef __ASM_ARM_CPU_H >> +#define __ASM_ARM_CPU_H >> + >> +#include >> +#include >> +#include >> + >> +struct cpuinfo_arm { >> + struct cpu cpu; >> + u64 cpuid; >> +#ifdef CONFIG_SMP >> + unsigned int loops_per_jiffy; >> +#endif >> +}; >> + >> +DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data); >> + >> +#endif > Could you not leave this file empty until you add the code that actua= lly > makes use of cpu_data? Of course, I will update in next version :) Thanks Hanjun -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html