- Stephen Rothwell: APM updates
[davej-history.git] / include / asm-mips64 / bugs.h
blobe86ede7d5aabb0fe30bfd85f115272b5a97664a3
1 /* $Id$
3 * Copyright (C) 1995 Waldorf Electronics
4 * Copyright (C) 1997, 1999 Ralf Baechle
5 */
6 #include <asm/bootinfo.h>
8 /*
9 * This is included by init/main.c to check for architecture-dependent bugs.
11 * Needs:
12 * void check_bugs(void);
16 static inline void check_wait(void)
18 printk("Checking for 'wait' instruction... ");
19 switch(mips_cputype) {
20 case CPU_R4200:
21 case CPU_R4300:
22 case CPU_R4600:
23 case CPU_R4700:
24 case CPU_R5000:
25 case CPU_NEVADA:
26 wait_available = 1;
27 printk(" available.\n");
28 break;
29 default:
30 printk(" unavailable.\n");
31 break;
35 static void __init
36 check_bugs(void)
38 check_wait();