From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754704AbbINJlM (ORCPT ); Mon, 14 Sep 2015 05:41:12 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:36258 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbbINJlL (ORCPT ); Mon, 14 Sep 2015 05:41:11 -0400 From: Alexander Kuleshov To: Geert Uytterhoeven Cc: Sam Creasey , linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Kuleshov Subject: [PATCH] m68k/sun3: Fix virtual addresses of clock and interrupt register Date: Mon, 14 Sep 2015 15:40:11 +0600 Message-Id: <1442223611-30175-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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