Commit ecb6a16f authored by Sven Schnelle's avatar Sven Schnelle Committed by Helge Deller

parisc: mark xchg functions notrace

tracing the xchg functions leads to recursion in various
places. Therefore mark the function as notrace.
Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 3759778e
...@@ -18,7 +18,7 @@ arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = { ...@@ -18,7 +18,7 @@ arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = {
#endif #endif
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
unsigned long __xchg64(unsigned long x, volatile unsigned long *ptr) unsigned long notrace __xchg64(unsigned long x, volatile unsigned long *ptr)
{ {
unsigned long temp, flags; unsigned long temp, flags;
...@@ -30,7 +30,7 @@ unsigned long __xchg64(unsigned long x, volatile unsigned long *ptr) ...@@ -30,7 +30,7 @@ unsigned long __xchg64(unsigned long x, volatile unsigned long *ptr)
} }
#endif #endif
unsigned long __xchg32(int x, volatile int *ptr) unsigned long notrace __xchg32(int x, volatile int *ptr)
{ {
unsigned long flags; unsigned long flags;
long temp; long temp;
...@@ -43,7 +43,7 @@ unsigned long __xchg32(int x, volatile int *ptr) ...@@ -43,7 +43,7 @@ unsigned long __xchg32(int x, volatile int *ptr)
} }
unsigned long __xchg8(char x, volatile char *ptr) unsigned long notrace __xchg8(char x, volatile char *ptr)
{ {
unsigned long flags; unsigned long flags;
long temp; long temp;
...@@ -56,7 +56,7 @@ unsigned long __xchg8(char x, volatile char *ptr) ...@@ -56,7 +56,7 @@ unsigned long __xchg8(char x, volatile char *ptr)
} }
u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new) u64 notrace __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new)
{ {
unsigned long flags; unsigned long flags;
u64 prev; u64 prev;
...@@ -68,7 +68,7 @@ u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new) ...@@ -68,7 +68,7 @@ u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new)
return prev; return prev;
} }
unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new) unsigned long notrace __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new)
{ {
unsigned long flags; unsigned long flags;
unsigned int prev; unsigned int prev;
...@@ -80,7 +80,7 @@ unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsign ...@@ -80,7 +80,7 @@ unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsign
return (unsigned long)prev; return (unsigned long)prev;
} }
u8 __cmpxchg_u8(volatile u8 *ptr, u8 old, u8 new) u8 notrace __cmpxchg_u8(volatile u8 *ptr, u8 old, u8 new)
{ {
unsigned long flags; unsigned long flags;
u8 prev; u8 prev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment