mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 02:45:05 +07:00
![David Howells](/assets/img/avatar_default.png)
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>
33 lines
879 B
C
33 lines
879 B
C
#ifndef __SPARC_SIGNAL_H
|
|
#define __SPARC_SIGNAL_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#include <linux/personality.h>
|
|
#include <linux/types.h>
|
|
#endif
|
|
#include <uapi/asm/signal.h>
|
|
|
|
#ifndef __ASSEMBLY__
|
|
/*
|
|
* DJHR
|
|
* SA_STATIC_ALLOC is used for the sparc32 system to indicate that this
|
|
* interrupt handler's irq structure should be statically allocated
|
|
* by the request_irq routine.
|
|
* The alternative is that arch/sparc/kernel/irq.c has carnal knowledge
|
|
* of interrupt usage and that sucks. Also without a flag like this
|
|
* it may be possible for the free_irq routine to attempt to free
|
|
* statically allocated data.. which is NOT GOOD.
|
|
*
|
|
*/
|
|
#define SA_STATIC_ALLOC 0x8000
|
|
|
|
struct k_sigaction {
|
|
struct __new_sigaction sa;
|
|
void __user *ka_restorer;
|
|
};
|
|
|
|
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
|
|
|
|
#endif /* !(__ASSEMBLY__) */
|
|
#endif /* !(__SPARC_SIGNAL_H) */
|