mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
[XTENSA] Prevent inlining ISS platform asm constructs
The simcall asm macro assumes Windowed ABI parameter passing in registers, and doesn't work if its containing function gets inlined. This fix prevents that from happening. Signed-off-by: Marc Gauthier <marc@tensilica.com>
This commit is contained in:
parent
b67360db14
commit
c865415838
@ -43,6 +43,7 @@ static DEFINE_SPINLOCK(timer_lock);
|
||||
|
||||
int errno;
|
||||
|
||||
static int __simc (int a, int b, int c, int d, int e, int f) __attribute__((__noinline__));
|
||||
static int __simc (int a, int b, int c, int d, int e, int f)
|
||||
{
|
||||
int ret;
|
||||
|
@ -107,6 +107,7 @@ struct iss_net_private {
|
||||
|
||||
static int errno;
|
||||
|
||||
static int __simc (int a, int b, int c, int d, int e, int f) __attribute__((__noinline__));
|
||||
static int __simc (int a, int b, int c, int d, int e, int f)
|
||||
{
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user