powerpc: Move FW feature probing out of pseries probe()

We move the function itself to pseries/firmware.c and call it along
with almost all other flat device-tree parsers from early_init_devtree()

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[mpe: Move #ifdefs into the header by providing pseries_probe_fw_features()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
这个提交包含在:
Benjamin Herrenschmidt
2016-07-05 15:03:48 +10:00
提交者 Michael Ellerman
父节点 c40785ad30
当前提交 3808a88985
修改 5 个文件,包含 56 行新增48 行删除

查看文件

@@ -20,11 +20,6 @@ extern void request_event_sources_irqs(struct device_node *np,
#include <linux/of.h>
extern void __init fw_hypertas_feature_init(const char *hypertas,
unsigned long len);
extern void __init fw_vec5_feature_init(const char *hypertas,
unsigned long len);
struct pt_regs;
extern int pSeries_system_reset_exception(struct pt_regs *regs);