[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips-cvs
Subject: [MIPS] Make prepare_frametrace() not clobber v0
From: linux-mips () linux-mips ! org
Date: 2006-08-29 12:06:51
Message-ID: S20039428AbWH2MG4/20060829120656Z+4791 () ftp ! linux-mips ! org
[Download RAW message or body]
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Tue Aug 29 12:10:22 2006 +0900
Comitter: Ralf Baechle <ralf@linux-mips.org> Tue Aug 29 12:05:32 2006 +0100
Commit: ce09573d3a5311d3ed5b912b625399e7cd2654d5
Gitweb: http://www.linux-mips.org/g/linux/ce09573d
Branch: master
Since lmo commit 323a380bf9e1a1679a774a2b053e3c1f2aa3f179 ("Simplify
dump_stack()") made prepare_frametrace() always inlined, using $2 (v0)
in __asm__ is not safe anymore. We can use $1 (at) instead. Also we
should use "dla" instead of "la" for 64-bit kernel.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
arch/mips/kernel/traps.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic