Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] TXx9: Fix txx9_pcode initialization
@ 2008-08-26 12:29 Atsushi Nemoto
  2008-08-26 13:09 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2008-08-26 12:29 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

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>
---
 arch/mips/txx9/generic/setup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

This patch is against current linux-mips.org main tree.

diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c
index 0afe94c..fe6bee0 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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] TXx9: Fix txx9_pcode initialization
  2008-08-26 12:29 [PATCH] TXx9: Fix txx9_pcode initialization Atsushi Nemoto
@ 2008-08-26 13:09 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-08-26 13:09 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips

On Tue, Aug 26, 2008 at 09:29:58PM +0900, Atsushi Nemoto wrote:

> The txx9_pcode variable was introduced in commit
> fe1c2bc64f65003b39f331a8e4b0d15b235a4afd ("TXx9: Add 64-bit support")
> but was not initialized properly.

Applied.  Thanks Atsushi-San!

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-26 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26 12:29 [PATCH] TXx9: Fix txx9_pcode initialization Atsushi Nemoto
2008-08-26 13:09 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox