OSDN Git Service

powerpc/prom: Stop scanning dev-tree for fdump early
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 24 Apr 2014 08:00:31 +0000 (18:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:35:18 +0000 (17:35 +1000)
commita7d0431774cf4b9970cf49da5b5cdd2f1aa71b25
tree6bccf06e6e0c949bacec0ad91a5b339b9487b8d7
parente9bc03fe2274bfdac8870025f81571ebfbc92c78
powerpc/prom: Stop scanning dev-tree for fdump early

Function early_init_dt_scan_fw_dump() is called to scan the device
tree for fdump properties under node "rtas". Any one of them is
invalid, we can stop scanning the device tree early by returning
"1". It would save a bit time during boot.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/fadump.c