From: Alexander Kuleshov <kuleshovmail@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Sam Creasey <sammy@sammy.net>,
linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org,
Alexander Kuleshov <kuleshovmail@gmail.com>
Subject: [PATCH] m68k/sun3: Fix virtual addresses of clock and interrupt register
Date: Mon, 14 Sep 2015 15:40:11 +0600 [thread overview]
Message-ID: <1442223611-30175-1-git-send-email-kuleshovmail@gmail.com> (raw)
The MMU base is 32 bits size - 0xfe000000, seems that we missed
one zero in the definition of the clock and interrupt register
addresses.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
arch/m68k/sun3/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/m68k/sun3/config.c b/arch/m68k/sun3/config.c
index a8b942b..c9c388f 100644
--- a/arch/m68k/sun3/config.c
+++ b/arch/m68k/sun3/config.c
@@ -61,8 +61,8 @@ void __init sun3_init(void)
m68k_cputype = CPU_68020;
m68k_fputype = FPU_68881; /* mc68881 actually */
m68k_mmutype = MMU_SUN3;
- clock_va = (char *) 0xfe06000; /* dark */
- sun3_intreg = (unsigned char *) 0xfe0a000; /* magic */
+ clock_va = (char *) 0xfe006000; /* dark */
+ sun3_intreg = (unsigned char *) 0xfe00a000; /* magic */
sun3_disable_interrupts();
prom_init((void *)LINUX_OPPROM_BEGVM);
--
2.5.0
next reply other threads:[~2015-09-14 9:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-14 9:40 Alexander Kuleshov [this message]
2015-09-25 7:21 ` Geert Uytterhoeven
2015-09-25 7:50 ` Alexander Kuleshov
2015-09-25 10:45 ` Tom Bogendoerfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442223611-30175-1-git-send-email-kuleshovmail@gmail.com \
--to=kuleshovmail@gmail.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=sammy@sammy.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome