Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.13-rc5 26 lines 777 B view raw
1#ifndef __ASM_POWERPC_DT_CPU_FTRS_H 2#define __ASM_POWERPC_DT_CPU_FTRS_H 3 4/* 5 * Copyright 2017, IBM Corporation 6 * cpufeatures is the new way to discover CPU features with /cpus/features 7 * devicetree. This supersedes PVR based discovery ("cputable"), and older 8 * device tree feature advertisement. 9 */ 10 11#include <linux/types.h> 12#include <asm/asm-compat.h> 13#include <asm/feature-fixups.h> 14#include <uapi/asm/cputable.h> 15 16#ifdef CONFIG_PPC_DT_CPU_FTRS 17bool dt_cpu_ftrs_init(void *fdt); 18void dt_cpu_ftrs_scan(void); 19bool dt_cpu_ftrs_in_use(void); 20#else 21static inline bool dt_cpu_ftrs_init(void *fdt) { return false; } 22static inline void dt_cpu_ftrs_scan(void) { } 23static inline bool dt_cpu_ftrs_in_use(void) { return false; } 24#endif 25 26#endif /* __ASM_POWERPC_DT_CPU_FTRS_H */