From: Li Zhong Date: Mon, 28 Apr 2014 00:29:51 +0000 (+0800) Subject: powerpc: Fix Oops in rtas_stop_self() X-Git-Tag: omap-for-v3.16/pm-signed~36^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb8d027dca0236c811272d342cf185569d91311;p=pandora-kernel.git powerpc: Fix Oops in rtas_stop_self() commit 41dd03a9 may cause Oops in rtas_stop_self(). The reason is that the rtas_args was moved into stack space. For a box with more that 4GB RAM, the stack could easily be outside 32bit range, but RTAS is 32bit. So the patch moves rtas_args away from stack by adding static before it. Signed-off-by: Li Zhong Signed-off-by: Anton Blanchard Cc: stable@vger.kernel.org # 3.14+ Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed