commit | aaaa3f9e51245be3215ff67bb3c7aaf5abb82f00 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Wed Jun 29 15:34:39 2005 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Jun 29 15:34:39 2005 +0100 |
tree | 3116e92b35d7424469d21f6758933352e9b84dfc | |
parent | 9ec3c75cdeb57fa3c12a813c63706ece7fb63648 [diff] |
[PATCH] ARM: 2769/1: cpu_init() stack setup fix Patch from Catalin Marinas The compiler allocates r14 for the stk variable in the __asm__ directive. This is a shadowed register and gets changed when the mode is changed, causing random values in the SP register. The patch adds a clobber for the r14 register. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>