Go to the documentation of this file.
10 #include <linux/string.h>
11 #include <linux/slab.h>
16 static char *mips_machine_name =
"Unknown";
18 #define for_each_machine(mach) \
19 for ((mach) = (struct mips_machine *)&__mips_machines_start; \
21 (unsigned long)(mach) < (unsigned long)&__mips_machines_end; \
33 pr_err(
"MIPS: no memory for machine_name\n");
35 mips_machine_name =
p;
40 return mips_machine_name;
57 pr_err(
"MIPS: no machine found for id '%s', supported machines:\n",
id);
58 pr_err(
"%-24s %s\n",
"id",
"name");
82 pr_info(
"MIPS: machine is %s\n", mips_machine_name);