about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h
blob: bac03ee45d19f5a129348e65b4a9b82bfba922fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/* powerpc kernel sigaction is similar to generic Linux UAPI one,
   but the architecture also defines SA_RESTORER.  */
#define SA_RESTORER 0x04000000

#define SET_SA_RESTORER(kact, act)             \
  (kact)->sa_restorer = (act)->sa_restorer
#define RESET_SA_RESTORER(act, kact)           \
  (act)->sa_restorer = (kact)->sa_restorer

#include <sysdeps/unix/sysv/linux/kernel_sigaction.h>