Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752114AbaAQOWc (ORCPT ); Fri, 17 Jan 2014 09:22:32 -0500 Received: from service87.mimecast.com ([91.220.42.44]:53001 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbaAQOWa convert rfc822-to-8bit (ORCPT ); Fri, 17 Jan 2014 09:22:30 -0500 Message-ID: <52D93CAA.1080604@arm.com> Date: Fri, 17 Jan 2014 14:22:34 +0000 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Hanjun Guo CC: "Rafael J. Wysocki" , Catalin Marinas , Will Deacon , Russell King - ARM Linux , Sudeep.Holla@arm.com, "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@linaro.org" Subject: Re: [PATCH 02/20] ARM64 : Add dummy asm/cpu.h References: <1389961514-13562-1-git-send-email-hanjun.guo@linaro.org> <1389961514-13562-3-git-send-email-hanjun.guo@linaro.org> In-Reply-To: <1389961514-13562-3-git-send-email-hanjun.guo@linaro.org> X-OriginalArrivalTime: 17 Jan 2014 14:22:26.0549 (UTC) FILETIME=[8BE78250:01CF138F] X-MC-Unique: 114011714222803001 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/01/14 12:24, Hanjun Guo wrote: > ACPI requires a cpu.h, add a dummy one copied from arm. This will need > updated or replaced as ACPI based cpu hotplug or cpu topology for armv8 > 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/cpu.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 modify > + * it under the terms of the GNU General Public License version 2 as > + * 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; IIUC we don't have loop-based delay support in ARM64. It's always timer based and in which case we don't need loops_per_jiffy Regards, Sudeep -- 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/