Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 *  arch/arm/include/asm/cpu.h
 4 *
 5 *  Copyright (C) 2004-2005 ARM Ltd.
 
 
 
 
 6 */
 7#ifndef __ASM_ARM_CPU_H
 8#define __ASM_ARM_CPU_H
 9
10#include <linux/percpu.h>
11#include <linux/cpu.h>
12
13struct cpuinfo_arm {
14	u32		cpuid;
15#ifdef CONFIG_SMP
16	unsigned int	loops_per_jiffy;
17#endif
18};
19
20DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
21
22#endif
v3.5.6
 
 1/*
 2 *  arch/arm/include/asm/cpu.h
 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
13#include <linux/percpu.h>
14#include <linux/cpu.h>
15
16struct cpuinfo_arm {
17	struct cpu	cpu;
18#ifdef CONFIG_SMP
19	unsigned int	loops_per_jiffy;
20#endif
21};
22
23DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
24
25#endif