aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/loongson/common/machtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson/common/machtype.c')
-rw-r--r--arch/mips/loongson/common/machtype.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/loongson/common/machtype.c b/arch/mips/loongson/common/machtype.c
new file mode 100644
index 00000000000..845b3fb47e0
--- /dev/null
+++ b/arch/mips/loongson/common/machtype.c
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology
+ * Author: Wu Zhangjin, wuzj@lemote.com
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ */
+
+#include <machine.h>
+
+const char *get_system_type(void)
+{
+ return LOONGSON_MACHNAME;
+}
+