]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit599fa4763ecc1a772a87a88897ab44f36aff4104
treeb6eced8416d521711a80f23e79cc58d7dc361cb4
parent22555cfdabf649cc1150fdea7b2ffaf2bc576fed
[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