summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/oplib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/oplib.h')
-rw-r--r--include/asm-sparc/oplib.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/include/asm-sparc/oplib.h b/include/asm-sparc/oplib.h
index 17ba82ee220a..6ff1a3bb15bc 100644
--- a/include/asm-sparc/oplib.h
+++ b/include/asm-sparc/oplib.h
@@ -86,17 +86,10 @@ extern void prom_seek(int device_handle, unsigned int seek_hival,
/* Machine memory configuration routine. */
-/* This function returns a V0 format memory descriptor table, it has three
- * entries. One for the total amount of physical ram on the machine, one
- * for the amount of physical ram available, and one describing the virtual
- * areas which are allocated by the prom. So, in a sense the physical
- * available is a calculation of the total physical minus the physical mapped
- * by the prom with virtual mappings.
- *
- * These lists are returned pre-sorted, this should make your life easier
- * since the prom itself is way too lazy to do such nice things.
+/* This function returns a V0 format available memory descriptor entry.
+ * This list is pre-sorted,
*/
-extern struct linux_mem_v0 *prom_meminfo(void);
+extern struct linux_mlist_v0 *prom_meminfo(void);
/* Miscellaneous routines, don't really fit in any category per se. */
OpenPOWER on IntegriCloud