From: James Hogan Date: Wed, 20 Feb 2013 13:59:13 +0000 (+0000) Subject: metag: copy devicetree to non-init memory X-Git-Tag: v3.9-rc1~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2270e6d30bb6601ffd42e9d972442df0499ad547;p=pandora-kernel.git metag: copy devicetree to non-init memory Make a copy of the device tree blob in non-init memory. It is required when using built-in device tree files that the platform code copies the blob to non-init memory prior to calling unflatten_device_tree(), otherwise the strings that the device tree refer to will get poisoned and potentially reused, breaking later reading of the device tree post-init (such as compatible matching in modules, debugfs, and the procfs interface). Signed-off-by: James Hogan Reviewed-by: Vineet Gupta --- Reading git-diff-tree failed