1 #include <linux/config.h>
3 #ifdef CONFIG_IA64_GENERIC
5 #include <linux/kernel.h>
6 #include <linux/string.h>
9 #include <asm/machvec.h>
11 struct ia64_machine_vector ia64_mv;
13 static struct ia64_machine_vector *
14 lookup_machvec (const char *name)
16 extern struct ia64_machine_vector machvec_start[];
17 extern struct ia64_machine_vector machvec_end[];
18 struct ia64_machine_vector *mv;
20 for (mv = machvec_start; mv < machvec_end; ++mv)
21 if (strcmp (mv->name, name) == 0)
28 machvec_init (const char *name)
30 struct ia64_machine_vector *mv;
32 mv = lookup_machvec(name);
34 panic("generic kernel failed to find machine vector for platform %s!", name);
37 printk(KERN_INFO "booting generic kernel on platform %s\n", name);
40 #endif /* CONFIG_IA64_GENERIC */