blob: d797223b39d5b4cf5889dc0465d1b235bd223fb1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Russell King4baa9922008-08-02 10:55:55 +01002 * arch/arm/include/asm/cpu.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
4 * Copyright (C) 2004-2005 ARM Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_ARM_CPU_H
11#define __ASM_ARM_CPU_H
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#include <linux/percpu.h>
Santosh Shilimkar62a8c5b2010-01-10 09:21:53 +010014#include <linux/cpu.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16struct cpuinfo_arm {
17 struct cpu cpu;
18#ifdef CONFIG_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 unsigned int loops_per_jiffy;
20#endif
21};
22
23DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
24
25#endif