diff options
author | David S. Miller <davem@davemloft.net> | 2017-08-15 21:32:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-06 16:44:39 +0200 |
commit | 1724b70c4dfef1f38d67b9e05016f6a84086a31f (patch) | |
tree | f07b2967278f6eeb4a60cb85ad4f8f4aa88a4621 /Makefile | |
parent | 93960f9d447467b9e6d9a8ee1d6ca7b5b6eb25b6 (diff) |
sparc64: Don't clibber fixed registers in __multi4.
commit 79db795833bf5c3e798bcd7a5aeeee3fb0505927 upstream.
%g4 and %g5 are fixed registers used by the kernel for the thread
pointer and the per-cpu offset. Use %o4 and %g7 instead.
Diagnosis by Anthony Yznaga.
Fixes: 1b4af13ff2cc ("sparc64: Add __multi3 for gcc 7.x and later.")
Reported-by: Anatoly Pugachev <matorola@gmail.com>
Tested-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions