···262 * using contents of device-tree/ibm,hypertas-functions.263 * Ultimately this functionality may be moved into prom.c prom_init().264 */265-void __init fw_feature_init(void)266{267 struct device_node * dn;268 char * hypertas;
···262 * using contents of device-tree/ibm,hypertas-functions.263 * Ultimately this functionality may be moved into prom.c prom_init().264 */265+static void __init fw_feature_init(void)266{267 struct device_node * dn;268 char * hypertas;
+19-3
include/asm-ppc64/firmware.h
···44#define FW_FEATURE_XDABR (1UL<<18)45#define FW_FEATURE_MULTITCE (1UL<<19)46#define FW_FEATURE_SPLPAR (1UL<<20)04748enum {49- FW_FEATURE_PSERIES = FW_FEATURE_PFT | FW_FEATURE_TCE |50 FW_FEATURE_SPRG0 | FW_FEATURE_DABR | FW_FEATURE_COPY |51 FW_FEATURE_ASR | FW_FEATURE_DEBUG | FW_FEATURE_TERM |52 FW_FEATURE_PERF | FW_FEATURE_DUMP | FW_FEATURE_INTERRUPT |···55 FW_FEATURE_VIO | FW_FEATURE_RDMA | FW_FEATURE_LLAN |56 FW_FEATURE_BULK | FW_FEATURE_XDABR | FW_FEATURE_MULTITCE |57 FW_FEATURE_SPLPAR,00058 FW_FEATURE_POSSIBLE =59#ifdef CONFIG_PPC_PSERIES60- FW_FEATURE_PSERIES |00061#endif62 0,0000000063};6465/* This is used to identify firmware features which are available···8384static inline unsigned long firmware_has_feature(unsigned long feature)85{86- return ppc64_firmware_features & feature & FW_FEATURE_POSSIBLE;087}8889#ifdef CONFIG_PPC_PSERIES