All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asm-generic: Remove empty #ifdef SA_RESTORER
@ 2022-09-08  9:12 Christophe Leroy
  2022-09-08 14:51 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe Leroy @ 2022-09-08  9:12 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Christophe Leroy, linux-kernel, linux-arch

There was a #ifdef SA_RESTORER to guard the sa_restorer field
in struct sigaction.

Commit 8a1ab3155c2a ("UAPI: (Scripted) Disintegrate
include/asm-generic") moved that struct into
uapi/asm-generic/signal.h but the #ifdef SA_RESTORER remained.

Remove it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
 include/asm-generic/signal.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/asm-generic/signal.h b/include/asm-generic/signal.h
index c53984fa9761..663dd6d0795d 100644
--- a/include/asm-generic/signal.h
+++ b/include/asm-generic/signal.h
@@ -5,8 +5,6 @@
 #include <uapi/asm-generic/signal.h>
 
 #ifndef __ASSEMBLY__
-#ifdef SA_RESTORER
-#endif
 
 #include <asm/sigcontext.h>
 #undef __HAVE_ARCH_SIG_BITOPS
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] asm-generic: Remove empty #ifdef SA_RESTORER
  2022-09-08  9:12 [PATCH] asm-generic: Remove empty #ifdef SA_RESTORER Christophe Leroy
@ 2022-09-08 14:51 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2022-09-08 14:51 UTC (permalink / raw)
  To: Christophe Leroy; +Cc: linux-kernel, Linux-Arch

On Thu, Sep 8, 2022, at 11:12 AM, Christophe Leroy wrote:
> There was a #ifdef SA_RESTORER to guard the sa_restorer field
> in struct sigaction.
>
> Commit 8a1ab3155c2a ("UAPI: (Scripted) Disintegrate
> include/asm-generic") moved that struct into
> uapi/asm-generic/signal.h but the #ifdef SA_RESTORER remained.
>
> Remove it.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
> ---


Applied to asm-generic tree, thanks

     Arnd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-08 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08  9:12 [PATCH] asm-generic: Remove empty #ifdef SA_RESTORER Christophe Leroy
2022-09-08 14:51 ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.