android_kernel_xiaomi_sm8350/arch/x86_64/mm
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
..
extable.c
fault.c mm: fault feedback #2 2007-07-19 10:04:41 -07:00
init.c Allow DEBUG_RODATA and KPROBES to co-exist 2007-06-21 16:02:50 -07:00
ioremap.c Revert "[PATCH] x86: __pa and __pa_symbol address space separation" 2007-05-07 08:44:24 -07:00
k8topology.c [PATCH] x86-64: Don't enable NUMA for a single node in K8 NUMA scanning 2007-05-02 19:27:21 +02:00
Makefile
mmap.c
numa.c [PATCH] x86-64: set node_possible_map at runtime - try 2 2007-05-02 19:27:20 +02:00
pageattr.c x86: Always flush pages in change_page_attr 2007-07-21 18:37:07 -07:00
srat.c x86_64: various cleanups in NUMA scan node 2007-07-21 18:37:08 -07:00