blob: bd6fdb4b922d49f5b40f7e5d984d078ae544bebe [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Russell King4baa9922008-08-02 10:55:55 +01003 * arch/arm/include/asm/cpu.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
5 * Copyright (C) 2004-2005 ARM Ltd.
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 */
7#ifndef __ASM_ARM_CPU_H
8#define __ASM_ARM_CPU_H
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#include <linux/percpu.h>
Santosh Shilimkar62a8c5b2010-01-10 09:21:53 +010011#include <linux/cpu.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13struct cpuinfo_arm {
14 struct cpu cpu;
Lorenzo Pieralisie8d432c2012-11-06 11:57:43 +000015 u32 cpuid;
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#ifdef CONFIG_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 unsigned int loops_per_jiffy;
18#endif
19};
20
21DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
22
23#endif