summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/lasat/lasat.h
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-07-14 16:58:47 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 19:44:39 +0200
commitb27418aa551a153e8bf1bd16cf93e5786f9590a9 (patch)
tree568fdf598effa5fe58e10781595392f101198529 /include/asm-mips/lasat/lasat.h
parent[MIPS] Remove mips_machtype from EMMA2RH machines (diff)
downloadlinux-b27418aa551a153e8bf1bd16cf93e5786f9590a9.tar.xz
linux-b27418aa551a153e8bf1bd16cf93e5786f9590a9.zip
[MIPS] Remove mips_machtype for LASAT machines
This is the LASAT part of the mips_machtype removal. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/lasat/lasat.h')
-rw-r--r--include/asm-mips/lasat/lasat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/lasat/lasat.h b/include/asm-mips/lasat/lasat.h
index ea04d9262edc..caeba1e302a2 100644
--- a/include/asm-mips/lasat/lasat.h
+++ b/include/asm-mips/lasat/lasat.h
@@ -240,6 +240,8 @@ static inline void lasat_ndelay(unsigned int ns)
__delay(ns / lasat_ndelay_divider);
}
+#define IS_LASAT_200() (current_cpu_data.cputype == CPU_R5000)
+
#endif /* !defined (_LANGUAGE_ASSEMBLY) */
#define LASAT_SERVICEMODE_MAGIC_1 0xdeadbeef