浏览代码

[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 <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Atsushi Nemoto 16 年之前
父节点
当前提交
073828d078
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/mips/txx9/generic/setup.c

+ 1 - 0
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_ce_res[i].name = txx9_ce_res_name[i];
 	}
 	}
 
 
+	txx9_pcode = pcode;
 	sprintf(txx9_pcode_str, "TX%x", pcode);
 	sprintf(txx9_pcode_str, "TX%x", pcode);
 	if (base) {
 	if (base) {
 		txx9_reg_res.start = base & 0xfffffffffULL;
 		txx9_reg_res.start = base & 0xfffffffffULL;