]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/kernel: Avoid initializing device-tree pointer twice
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 8 Jan 2015 05:41:47 +0000 (16:41 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 2 Feb 2015 03:51:32 +0000 (14:51 +1100)
commitfe12545e7650de5332b5522a62686fab8bafc733
tree2eeca6541b136f3562b499df6b457d259fd39722
parenta4bcbe6a41adcaa5e7f1830a7c1da8691d9d2b1d
powerpc/kernel: Avoid initializing device-tree pointer twice

As commit 50ba08f3 ("of/fdt: Don't clear initial_boot_params
if fdt_check_header() fails") does, the device-tree pointer
"initial_boot_params" is initialized by early_init_dt_verify(),
which is called by early_init_devtree(). So we needn't explicitly
initialize that again in early_init_devtree().

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c