[PATCH] powerpc numa: Consolidate handling of Power4 special case
authorNathan Lynch <nathanl@austin.ibm.com>
Tue, 21 Mar 2006 00:36:15 +0000 (18:36 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Mar 2006 04:03:57 +0000 (15:03 +1100)
commitbc16a75926941094db6b42d76014abb5e8d3a910
treeb6eced8416d521711a80f23e79cc58d7dc361cb4
parentcf950b7af0e51935e559c54262214423e2b6c88a
[PATCH] powerpc numa: Consolidate handling of Power4 special case

Code to handle Power4's invalid node id (0xffff) is duplicated for cpu
and memory.  Better to handle this case in one place --
of_node_to_nid.  Overall behavior should be unchanged.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/numa.c