summaryrefslogtreecommitdiff
path: root/net/rxrpc/misc.c
diff options
context:
space:
mode:
authorYasha Cherikovsky <yasha.che3@gmail.com>2018-09-25 21:08:23 +0300
committerPaul Burton <paul.burton@mips.com>2018-09-26 02:27:24 +0300
commitc55213eac2e9f2196fb3e2c7713ac31cfece7d9d (patch)
tree57579ed2f9067cae16bc36c4bc92a2882428ae37 /net/rxrpc/misc.c
parent62a83c55eaf8d9bd30851c3e23a19c0fe1f263a3 (diff)
downloadlinux-c55213eac2e9f2196fb3e2c7713ac31cfece7d9d.tar.xz
MIPS/head: Store ELF appended dtb in a global variable too
Since commit 15f37e158892 ("MIPS: store the appended dtb address in a variable"), in kernels with MIPS_RAW_APPENDED_DTB=y, the early boot code detects the dtb and stores it in the 'fw_passed_dtb' variable. However, the dtb is not stored in 'fw_passed_dtb' in kernels with MIPS_ELF_APPENDED_DTB=y. Under MIPS_ELF_APPENDED_DTB=y, the dtb is also located in the __appended_dtb section, so we just need to update the #ifdef. This will allow to access the dtb in a more uniform way. Fixes: 15f37e158892 ("MIPS: store the appended dtb address in a variable") Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20803/ Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'net/rxrpc/misc.c')
0 files changed, 0 insertions, 0 deletions