blob: 0c729e2d0e8a1b555fb2898764848245f432ccfc [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0 */
* Copyright 2017, IBM Corporation
* cpufeatures is the new way to discover CPU features with /cpus/features
* devicetree. This supersedes PVR based discovery ("cputable"), and older
* device tree feature advertisement.
#include <linux/types.h>
#include <uapi/asm/cputable.h>
bool dt_cpu_ftrs_init(void *fdt);
void dt_cpu_ftrs_scan(void);
bool dt_cpu_ftrs_in_use(void);
static inline bool dt_cpu_ftrs_init(void *fdt) { return false; }
static inline void dt_cpu_ftrs_scan(void) { }
static inline bool dt_cpu_ftrs_in_use(void) { return false; }
#endif /* __ASM_POWERPC_DT_CPU_FTRS_H */