[PATCH 2/7] Redefine MMU register access asi if CONFIG_LEON

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From fb5efd06d7e8ed5bc09b1be66cda8167342a2737 Mon Sep 17 00:00:00 2001
From: Konrad Eisele <konrad@xxxxxxxxxxx>
Date: Tue, 9 Jun 2009 12:51:43 +0200
Subject: [PATCH 2/7] Redefine MMU register access asi if CONFIG_LEON
is defined

Signed-off-by: Konrad Eisele <konrad@xxxxxxxxxxx>
---
 arch/sparc/include/asm/asi.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/include/asm/asi.h b/arch/sparc/include/asm/asi.h
index 74703c5..aa498f8 100644
--- a/arch/sparc/include/asm/asi.h
+++ b/arch/sparc/include/asm/asi.h
@@ -259,4 +259,9 @@ #define ASI_BLK_S		0xf1 /* Secondary, bl
 #define ASI_BLK_PL		0xf8 /* Primary, blk ld/st, little	*/
 #define ASI_BLK_SL		0xf9 /* Secondary, blk ld/st, little	*/

+#ifdef CONFIG_LEON
+#undef  ASI_M_MMUREGS
+#define ASI_M_MMUREGS		0x19
+#endif /* CONFIG_LEON */
+
 #endif /* _SPARC_ASI_H */
--
1.4.2.1

>From fb5efd06d7e8ed5bc09b1be66cda8167342a2737 Mon Sep 17 00:00:00 2001
From: Konrad Eisele <konrad@xxxxxxxxxxx>
Date: Tue, 9 Jun 2009 12:51:43 +0200
Subject: [PATCH 2/7] Redefine MMU register access asi if CONFIG_LEON
is defined

Signed-off-by: Konrad Eisele <konrad@xxxxxxxxxxx>
---
 arch/sparc/include/asm/asi.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/include/asm/asi.h b/arch/sparc/include/asm/asi.h
index 74703c5..aa498f8 100644
--- a/arch/sparc/include/asm/asi.h
+++ b/arch/sparc/include/asm/asi.h
@@ -259,4 +259,9 @@ #define ASI_BLK_S		0xf1 /* Secondary, bl
 #define ASI_BLK_PL		0xf8 /* Primary, blk ld/st, little	*/
 #define ASI_BLK_SL		0xf9 /* Secondary, blk ld/st, little	*/
 
+#ifdef CONFIG_LEON
+#undef  ASI_M_MMUREGS
+#define ASI_M_MMUREGS		0x19
+#endif /* CONFIG_LEON */
+
 #endif /* _SPARC_ASI_H */
-- 
1.4.2.1


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux