]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Add of_find_next_cache_node()
authorNathan Lynch <ntl@pobox.com>
Wed, 10 Dec 2008 14:46:04 +0000 (14:46 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 21 Dec 2008 03:21:14 +0000 (14:21 +1100)
commite523f723d69cde44e10116d7f49b277da0c6702c
treedc6443159ddfe4965264593c9f493f927e8b1d52
parent749820928a2fd47ff536773d869d2c3f8038b7d1
powerpc: Add of_find_next_cache_node()

We have more than one piece of code that looks up cache nodes manually
using the "l2-cache" property.  Add a common helper routine which does
this and handles ePAPR's "next-level-cache" property as well as
powermac.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom.c