aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/kexec.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-05-10 17:06:30 +1000
committerPaul Mackerras <paulus@samba.org>2007-05-10 21:28:13 +1000
commit40472a55461a672c929a092e648f6c5d21c9c310 (patch)
tree0c15281e208b14f3ffa3367584ff3392412e0f31 /arch/powerpc/platforms/pseries/kexec.c
parent[POWERPC] Fix warning in hpte_decode(), and generalize it (diff)
downloadlinux-dev-40472a55461a672c929a092e648f6c5d21c9c310.tar.xz
linux-dev-40472a55461a672c929a092e648f6c5d21c9c310.zip
[POWERPC] Split initrd logic out of early_init_dt_scan_chosen() to fix warning
If CONFIG_BLK_DEV_INITRD is not defined the prop variable in early_init_dt_scan_chosen() is unused, causing a compiler warning. So split the initrd logic into a separate function, allowing us to declare prop only when we need it. Built for both cases and booted with an initrd. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/kexec.c')
0 files changed, 0 insertions, 0 deletions