From: Atsushi Nemoto Date: Tue, 26 Aug 2008 12:29:58 +0000 (+0900) Subject: [MIPS] TXx9: Fix txx9_pcode initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=073828d078d3e55b23b2b5937a49dc1019c5907d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [MIPS] TXx9: Fix txx9_pcode initialization The txx9_pcode variable was introduced in commit fe1c2bc64f65003b39f331a8e4b0d15b235a4afd ("TXx9: Add 64-bit support") but was not initialized properly. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 0afe94c48fb6..fe6bee09cece 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c @@ -53,6 +53,7 @@ txx9_reg_res_init(unsigned int pcode, unsigned long base, unsigned long size) txx9_ce_res[i].name = txx9_ce_res_name[i]; } + txx9_pcode = pcode; sprintf(txx9_pcode_str, "TX%x", pcode); if (base) { txx9_reg_res.start = base & 0xfffffffffULL;