/* * Machine specific setup for generic */ #include #include #include #include #include #include #ifdef CONFIG_HOTPLUG_CPU #define DEFAULT_SEND_IPI (1) #else #define DEFAULT_SEND_IPI (0) #endif int no_broadcast=DEFAULT_SEND_IPI; static __init int no_ipi_broadcast(char *str) { get_option(&str, &no_broadcast); printk ("Using %s mode\n", no_broadcast ? "No IPI Broadcast" : "IPI Broadcast"); return 1; } __setup("no_ipi_broadcast", no_ipi_broadcast); static int __init print_ipi_mode(void) { printk ("Using IPI %s mode\n", no_broadcast ? "No-Shortcut" : "Shortcut"); return 0; } late_initcall(print_ipi_mode); /** * pre_setup_arch_hook - hook called prior to any setup_arch() execution * * Description: * generally used to activate any machine specific identification * routines that may be needed before setup_arch() runs. On VISWS * this is used to get the board revision and type. **/ void __init pre_setup_arch_hook(void) { }