]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] TXx9: Fix txx9_pcode initialization
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 26 Aug 2008 12:29:58 +0000 (21:29 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 5 Sep 2008 20:24:12 +0000 (21:24 +0100)
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>
arch/mips/txx9/generic/setup.c

index 0afe94c48fb65e82ee283f5fbd2fbce6362dcdb9..fe6bee09cecea23e640a40861a9dcbc4e4adfe94 100644 (file)
@@ -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;