linux-mips
[Top] [All Lists]

[PATCH 08/15] define MODULE_PROC_FAMILY for Loongson2

To: linux-mips@linux-mips.org
Subject: [PATCH 08/15] define MODULE_PROC_FAMILY for Loongson2
From: tiansm@lemote.com
Date: Wed, 6 Jun 2007 14:52:45 +0800
Cc: Fuxin Zhang <zhangfx@lemote.com>
In-reply-to: <11811127722019-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11811127722019-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
From: Fuxin Zhang <zhangfx@lemote.com>

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.5.2.1


<Prev in Thread] Current Thread [Next in Thread>