From fab72d6ab651b4cf6ef32d5bcfb63ef8743274d8 Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Thu, 31 Jul 2014 00:19:45 +0530 Subject: 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 Acked-by: Stewart Smith Signed-off-by: Benjamin Herrenschmidt --- hdata/spira.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hdata') 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), }, }; -- cgit v1.1