projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e6873
)
[POWERPC] Routine to find the devtree node of a linux,phandle
author
Mark A. Greer
<mgreer@mvista.com>
Tue, 27 Mar 2007 22:31:41 +0000
(15:31 -0700)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 12 Apr 2007 17:55:16 +0000
(
03:55
+1000)
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/ops.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/boot/ops.h
b/arch/powerpc/boot/ops.h
index fbd9030d660e569971ff72471c00830c509fcad3..ee0f9c25f8398599fbf64db1fa8c6a25f453cbb0 100644
(file)
--- a/
arch/powerpc/boot/ops.h
+++ b/
arch/powerpc/boot/ops.h
@@
-158,6
+158,12
@@
void __dt_fixup_mac_addresses(u32 startindex, ...);
__dt_fixup_mac_addresses(0, __VA_ARGS__, NULL)
+static inline void *find_node_by_linuxphandle(const u32 linuxphandle)
+{
+ return find_node_by_prop_value(NULL, "linux,phandle",
+ (char *)&linuxphandle, sizeof(u32));
+}
+
static inline void *malloc(u32 size)
{
return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL;
This page took
0.025854 seconds
and
5
git commands to generate.