mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 17:57:05 +07:00
2ba364504f
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
31 lines
806 B
C
31 lines
806 B
C
/*
|
|
* This file defines the fixed addresses where userspace programs
|
|
* can find atomic code sequences.
|
|
*
|
|
* Copyright 2007-2008 Analog Devices Inc.
|
|
*
|
|
* Licensed under the GPL-2 or later.
|
|
*/
|
|
#ifndef __BFIN_ASM_FIXED_CODE_H__
|
|
#define __BFIN_ASM_FIXED_CODE_H__
|
|
|
|
#include <uapi/asm/fixed_code.h>
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#include <linux/linkage.h>
|
|
#include <linux/ptrace.h>
|
|
extern asmlinkage void finish_atomic_sections(struct pt_regs *regs);
|
|
extern char fixed_code_start;
|
|
extern char fixed_code_end;
|
|
extern int atomic_xchg32(void);
|
|
extern int atomic_cas32(void);
|
|
extern int atomic_add32(void);
|
|
extern int atomic_sub32(void);
|
|
extern int atomic_ior32(void);
|
|
extern int atomic_and32(void);
|
|
extern int atomic_xor32(void);
|
|
extern void safe_user_instruction(void);
|
|
extern void sigreturn_stub(void);
|
|
#endif
|
|
#endif
|