linux-mips
[Top] [All Lists]

[PATCH] tx49xx: add some mach specific headers

To: linux-mips@linux-mips.org
Subject: [PATCH] tx49xx: add some mach specific headers
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Wed, 25 Jul 2007 01:50:08 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
 .../asm-mips/mach-tx49xx/cpu-feature-overrides.h   |   23 ++++++++++++++++++++
 include/asm-mips/mach-tx49xx/kmalloc.h             |    8 +++++++
 2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/include/asm-mips/mach-tx49xx/cpu-feature-overrides.h 
b/include/asm-mips/mach-tx49xx/cpu-feature-overrides.h
new file mode 100644
index 0000000..275eaf9
--- /dev/null
+++ b/include/asm-mips/mach-tx49xx/cpu-feature-overrides.h
@@ -0,0 +1,23 @@
+#ifndef __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H
+#define __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H
+
+#define cpu_has_llsc   1
+#define cpu_has_64bits 1
+#define cpu_has_inclusive_pcaches      0
+
+#define cpu_has_mips16         0
+#define cpu_has_mdmx           0
+#define cpu_has_mips3d         0
+#define cpu_has_smartmips      0
+#define cpu_has_vtag_icache    0
+#define cpu_has_ic_fills_f_dc  0
+#define cpu_has_dsp    0
+#define cpu_has_mipsmt 0
+#define cpu_has_userlocal      0
+
+#define cpu_has_mips32r1       0
+#define cpu_has_mips32r2       0
+#define cpu_has_mips64r1       0
+#define cpu_has_mips64r2       0
+
+#endif /* __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H */
diff --git a/include/asm-mips/mach-tx49xx/kmalloc.h 
b/include/asm-mips/mach-tx49xx/kmalloc.h
new file mode 100644
index 0000000..913ff19
--- /dev/null
+++ b/include/asm-mips/mach-tx49xx/kmalloc.h
@@ -0,0 +1,8 @@
+#ifndef __ASM_MACH_TX49XX_KMALLOC_H
+#define __ASM_MACH_TX49XX_KMALLOC_H
+
+/*
+ * All happy, no need to define ARCH_KMALLOC_MINALIGN
+ */
+
+#endif /* __ASM_MACH_TX49XX_KMALLOC_H */

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