]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 3 Jan 2017 17:37:34 +0000 (09:37 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 1 Mar 2017 20:31:52 +0000 (12:31 -0800)
commit8e91557896d614cf2603a074be8fa7fb966dc130
tree5847c2cecf613622ac9a0f28b2f8a145a9f82b79
parenta038d7bc5ca9f7db00f9545f7f383b2cff5f3e9d
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD

FDT tag parsing is not related to whether BLK_DEV_INITRD is configured
or not, move it out of the corresponding #ifdef/#endif block.
This fixes passing external FDT to the kernel configured w/o
BLK_DEV_INITRD support.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c