Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Patch for RaQ2 - cpu features.h
@ 2005-12-05  5:15 Jim Gifford
  0 siblings, 0 replies; only message in thread
From: Jim Gifford @ 2005-12-05  5:15 UTC (permalink / raw)
  To: Linux MIPS List

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

This replaces the cpu-probe.c hack we had before, which disabled ll_sc.. 
I followed the format of theother cpu-feature-overrides.h.


-- 
----
Jim Gifford
maillist@jg555.com


[-- Attachment #2: cobalt_override.patch --]
[-- Type: text/x-diff, Size: 1005 bytes --]

diff -Naur linux-2.6.14.orig/include/asm-mips/cobalt/cpu-feature-overrides.h linux-2.6.14/include/asm-mips/cobalt/cpu-feature-overrides.h
--- linux-2.6.14.orig/include/asm-mips/cobalt/cpu-feature-overrides.h	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.14/include/asm-mips/cobalt/cpu-feature-overrides.h	2005-11-29 23:02:33.000000000 +0000
@@ -0,0 +1,24 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2003, 2004 Chris Dearman
+ * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)
+ */
+#ifndef __ASM_COBALT_MIPS_CPU_FEATURE_OVERRIDES_H
+#define __ASM_COBALT_MIPS_CPU_FEATURE_OVERRIDES_H
+
+#include <linux/config.h>
+
+/*
+ * CPU feature overrides for Cobalt Servers
+ */
+
+#ifdef CONFIG_64BIT
+#define cpu_has_llsc            0
+#else
+#define cpu_has_llsc            1
+#endif
+
+#endif /* __ASM_COBALT_MIPS_CPU_FEATURE_OVERRIDES_H */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-05  5:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-05  5:15 Patch for RaQ2 - cpu features.h Jim Gifford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox