[PATCH] ppc64 oops on /proc/cpuinfo

This fixes the ppc64 /proc/cpuinfo oops introduced with the lmb
cleanups.

We are trying to slowly phase out the LMB stuff (it mostly duplicates
functionality of bootmem...), this part got overlooked.
parent e07f4d38
......@@ -126,7 +126,6 @@ void __pmac pmac_show_cpuinfo(struct seq_file *m)
/* print parsed model */
seq_printf(m, "detected as\t: %d (%s)\n", mbmodel, mbname);
seq_printf(m, "pmac flags\t: %08x\n", mbflags);
seq_printf(m, "memory\t\t: %luMB\n", lmb_phys_mem_size() >> 20);
/* Checks "l2cr-value" property in the registry */
np = find_devices("cpus");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment