linux-mips
[Top] [All Lists]

[PATCH 8/16] define MODULE_PROC_FAMILY for Loongson2

To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: [PATCH 8/16] define MODULE_PROC_FAMILY for Loongson2
From: "zhangfx@lemote.com" <zhangfx@lemote.com>
Date: Wed, 4 Apr 2007 14:38:19 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
 include/asm-mips/module.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-mips/module.h b/include/asm-mips/module.h
index 399d03f..f615324 100644
--- a/include/asm-mips/module.h
+++ b/include/asm-mips/module.h
@@ -112,6 +112,8 @@ search_module_dbetables(unsigned long addr)
 #define MODULE_PROC_FAMILY "RM9000 "
 #elif defined CONFIG_CPU_SB1
 #define MODULE_PROC_FAMILY "SB1 "
+#elif defined CONFIG_CPU_LOONGSON2
+#define MODULE_PROC_FAMILY "LOONGSON2 "
 #else
 #error MODULE_PROC_FAMILY undefined for your processor configuration
 #endif
-- 
1.4.4.4


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 8/16] define MODULE_PROC_FAMILY for Loongson2, zhangfx@lemote.com <=