diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-07-18 16:51:12 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-07-19 17:45:50 +1000 |
commit | 64b30ec54bf7d225f2f0e87d0c075141e4e04ddd (patch) | |
tree | 910ad513f484793fdc039b6637a0ac0fd0bdc02f /hdata | |
parent | ae9fb433c5a6e80f6d8e0387788b7ad13443a45e (diff) | |
download | skiboot-64b30ec54bf7d225f2f0e87d0c075141e4e04ddd.zip skiboot-64b30ec54bf7d225f2f0e87d0c075141e4e04ddd.tar.gz skiboot-64b30ec54bf7d225f2f0e87d0c075141e4e04ddd.tar.bz2 |
sparse: various SPIRA structures, declare them.
hdata/spira.c:42:49: warning: symbol 'proc_init_data' was not declared. Should it be static?
hdata/spira.c:51:49: warning: symbol 'cpu_ctl_spat_area' was not declared. Should it be static?
hdata/spira.c:54:49: warning: symbol 'cpu_ctl_hsr_area' was not declared. Should it be static?
hdata/spira.c:56:53: warning: symbol 'cpu_ctl_init_data' was not declared. Should it be static?
hdata/spira.c:92:48: warning: symbol 'init_mdst_table' was not declared. Should it be static?
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/spira.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hdata/spira.c b/hdata/spira.c index a23fd17..945cc7e 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -39,6 +39,8 @@ static int cpu_type; +extern struct proc_init_data proc_init_data; + __section(".procin.data") struct proc_init_data proc_init_data = { .hdr = HDIF_SIMPLE_HDR("PROCIN", 1, struct proc_init_data), .regs_ptr = HDIF_IDATA_PTR(offsetof(struct proc_init_data, regs), 0x10), @@ -48,11 +50,14 @@ __section(".procin.data") struct proc_init_data proc_init_data = { }, }; +extern struct sp_addr_table cpu_ctl_spat_area; __section(".cpuctrl.data") struct sp_addr_table cpu_ctl_spat_area; __section(".cpuctrl.data") struct sp_attn_area cpu_ctl_sp_attn_area1; __section(".cpuctrl.data") struct sp_attn_area cpu_ctl_sp_attn_area2; +extern struct hsr_data_area cpu_ctl_hsr_area; __section(".cpuctrl.data") struct hsr_data_area cpu_ctl_hsr_area; +extern struct cpu_ctl_init_data cpu_ctl_init_data; __section(".cpuctrl.data") struct cpu_ctl_init_data cpu_ctl_init_data = { .hdr = HDIF_SIMPLE_HDR(CPU_CTL_HDIF_SIG, 2, struct cpu_ctl_init_data), .cpu_ctl = HDIF_IDATA_PTR(offsetof(struct cpu_ctl_init_data, cpu_ctl_lt), sizeof(struct cpu_ctl_legacy_table)), @@ -89,6 +94,8 @@ __section(".cpuctrl.data") struct cpu_ctl_init_data cpu_ctl_init_data = { * addresses, we set the top bit to 1 on physical addresses */ +extern struct dump_mdst_table init_mdst_table[]; + __section(".mdst.data") struct dump_mdst_table init_mdst_table[2] = { { .addr = CPU_TO_BE64(INMEM_CON_START | HRMOR_BIT), |