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