David Rientjes ae2c6dcf90 x86_64: various cleanups in NUMA scan node
In acpi_scan_nodes(), we immediately return -1 if acpi_numa <= 0, meaning
we haven't detected any underlying ACPI topology or we have explicitly
disabled its use from the command-line with numa=noacpi.

acpi_table_print_srat_entry() and acpi_table_parse_srat() are only
referenced within drivers/acpi/numa.c, so we can mark them as static and
remove their prototypes from the header file.

Likewise, pxm_to_node_map[] and node_to_pxm_map[] are only used within
drivers/acpi/numa.c, so we mark them as static and remove their externs
from the header file.

The automatic 'result' variable is unused in acpi_numa_init(), so it's
removed.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-21 18:37:08 -07:00
..
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-07-19 10:04:42 -07:00
2007-05-29 18:29:50 -04:00
2007-02-16 22:10:32 -05:00
2007-03-09 21:19:05 -05:00
2007-02-12 22:42:12 -05:00
2007-02-12 22:42:12 -05:00
2007-03-28 23:31:43 -04:00
2007-02-12 22:42:12 -05:00
2007-05-08 11:15:18 -07:00
2007-04-28 23:16:59 -04:00
2007-04-28 23:16:59 -04:00
2007-05-08 11:15:08 -07:00
2007-07-18 08:47:40 -07:00
2007-02-12 22:42:12 -05:00