diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-08-09 05:20:20 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-08-29 00:53:38 (GMT) |
commit | 9a5573e378c5c8976c6000a7643b52e2a0481688 (patch) | |
tree | fc8e0e366460434b515128a287448fa64d15f105 /include/asm-ppc64/page.h | |
parent | 95920324f51b3a12603cf6d9bacbd831f34c5b60 (diff) | |
download | linux-fsl-qoriq-9a5573e378c5c8976c6000a7643b52e2a0481688.tar.xz |
[PATCH] ppc64: Check of_chosen in check_for_initrd()
You can't call get_property() on a NULL node, so check if of_chosen is set
in check_for_initrd().
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/ppc64/kernel/setup.c | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/page.h')
0 files changed, 0 insertions, 0 deletions