arm/dt: consolidate atags setup into setup_machine_atags
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / include / asm / cpu.h
CommitLineData
1da177e4 1/*
4baa9922 2 * arch/arm/include/asm/cpu.h
1da177e4
LT
3 *
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
1da177e4 13#include <linux/percpu.h>
62a8c5bc 14#include <linux/cpu.h>
1da177e4
LT
15
16struct cpuinfo_arm {
17 struct cpu cpu;
18#ifdef CONFIG_SMP
71f512e8 19 struct task_struct *idle;
1da177e4
LT
20 unsigned int loops_per_jiffy;
21#endif
22};
23
24DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
25
26#endif