diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2014-07-31 00:19:45 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-31 11:11:47 +1000 |
commit | fab72d6ab651b4cf6ef32d5bcfb63ef8743274d8 (patch) | |
tree | 59e1fca7b1dc8995635d4f09c1152b3230358948 /hdata | |
parent | 04604b5f49af98ee97f6edea0278282624ed9cbe (diff) | |
download | skiboot-fab72d6ab651b4cf6ef32d5bcfb63ef8743274d8.zip skiboot-fab72d6ab651b4cf6ef32d5bcfb63ef8743274d8.tar.gz skiboot-fab72d6ab651b4cf6ef32d5bcfb63ef8743274d8.tar.bz2 |
MDST: Rename function name and variable order
- Better function naming
- Better macro naming
- Re-ordered function variables
- calculate max_mdst_entry after allocating memory
for mdst table.
No change in functionality.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/spira.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hdata/spira.c b/hdata/spira.c index 39a78e8..45c282c 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -61,12 +61,12 @@ __section(".procin.data") struct proc_init_data proc_init_data = { __section(".mdst.data") struct dump_mdst_table init_mdst_table[2] = { { .addr = CPU_TO_BE64(INMEM_CON_START | ADDR_TOP_BIT), - .type = CPU_TO_BE32(DUMP_SECTION_CONSOLE), + .type = CPU_TO_BE32(DUMP_REGION_CONSOLE), .size = CPU_TO_BE32(INMEM_CON_LEN), }, { .addr = CPU_TO_BE64(HBRT_CON_START | ADDR_TOP_BIT), - .type = CPU_TO_BE32(DUMP_SECTION_HBRT_LOG), + .type = CPU_TO_BE32(DUMP_REGION_HBRT_LOG), .size = CPU_TO_BE32(HBRT_CON_LEN), }, }; |