diff -r 04f6ad5d9232 arch/powerpc/platforms/xen/setup.c --- a/arch/powerpc/platforms/xen/setup.c Mon Mar 05 13:23:38 2007 -0600 +++ b/arch/powerpc/platforms/xen/setup.c Mon Jan 06 23:38:05 2031 -0600 @@ -39,6 +39,18 @@ extern struct machdep_calls mach_maple_m extern struct machdep_calls mach_maple_md; extern void maple_pci_init(void); +static void xen_show_cpuinfo(struct seq_file *m) +{ + struct device_node *root; + const char *model = ""; + + root = of_find_node_by_path("/"); + if (root) + model = get_property(root, "model", NULL); + seq_printf(m, "machine\t\t: %s\n", model); + of_node_put(root); +} + int direct_remap_pfn_range(struct vm_area_struct *vma, unsigned long address, unsigned long mfn, @@ -269,9 +281,10 @@ void xen_machine_crash_shutdown(struct p #endif define_machine(xen) { - .name = "Xen-Maple", + .name = "Xen", .probe = xen_probe, .setup_arch = xen_setup_arch, + .show_cpuinfo = xen_show_cpuinfo, .init_early = xen_init_early, #ifdef CONFIG_SHARE_MPIC .init_IRQ = xen_maple_init_IRQ,