From: Magnus Damm Date: Mon, 23 Feb 2009 07:14:02 +0000 (+0000) Subject: sh: shared register saving code for sh3/sh4/sh4a X-Git-Tag: v2.6.30-rc1~673^2~78 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d015cf02a1fd46385c03cf3ce8958dbea705dd3;p=pandora-kernel.git sh: shared register saving code for sh3/sh4/sh4a This patch reworks the sh3/sh4/sh4a register saving code in the following ways: - break out prepare_stack_save_dsp() from handle_exception() - break out save_regs() from handle_exception() - the register saving order is unchanged - align new functions to fit in cache lines - separate exception code from interrupt code - keep main code flow in a single cache line per exception vector - use bsr/rts for regular functions (save pr first) - keep data in one shared cache line (exception_data) - document the functions - tie in the hp6xx code Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed