This source file includes following definitions.
- check_wait
- check_bugs
1
2
3
4
5
6
7 #include <asm/bootinfo.h>
8
9
10
11
12
13
14
15
16 extern struct bootinfo boot_info;
17
18 static void check_wait(void)
19 {
20 printk("Checking for 'wait' instruction... ");
21 switch(boot_info.cputype) {
22 case CPU_R4200:
23 case CPU_R4600:
24 wait_available = 1;
25 printk(" available.\n");
26 break;
27 default:
28 printk(" unavailable.\n");
29 break;
30 }
31 }
32
33 static void check_bugs(void)
34 {
35 check_wait();
36 }