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
{
53 /* pseudo-ZCR for recording maximum ZCR_EL1 LEN value: */
57 DECLARE_PER_CPU(struct cpuinfo_arm64
, cpu_data
);
59 void cpuinfo_store_cpu(void);
60 void __init
cpuinfo_store_boot_cpu(void);
62 void __init
init_cpu_features(struct cpuinfo_arm64
*info
);
63 void update_cpu_features(int cpu
, struct cpuinfo_arm64
*info
,
64 struct cpuinfo_arm64
*boot
);
66 #endif /* __ASM_CPU_H */