1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2014 ARM Ltd.
9 #include <linux/init.h>
10 #include <linux/percpu.h>
13 * Records attributes of an individual CPU.
15 struct cpuinfo_arm64
{
58 /* pseudo-ZCR for recording maximum ZCR_EL1 LEN value: */
62 DECLARE_PER_CPU(struct cpuinfo_arm64
, cpu_data
);
64 void cpuinfo_store_cpu(void);
65 void __init
cpuinfo_store_boot_cpu(void);
67 void __init
init_cpu_features(struct cpuinfo_arm64
*info
);
68 void update_cpu_features(int cpu
, struct cpuinfo_arm64
*info
,
69 struct cpuinfo_arm64
*boot
);
71 #endif /* __ASM_CPU_H */