Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc: remove SA_STATIC_ALLOC macro definition

This macro is not exposed to uapi and is unreferenced in the
kernel. The last reference to it was removed in commit 4c6773c3954c
("sparc32,leon: add support for extended interrupt controller"),
so remove the definition.

Signed-off-by: Peter Collingbourne <pcc@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Peter Collingbourne and committed by
David S. Miller
4cc8ca08 0a95a6d1

-12
-12
arch/sparc/include/asm/signal.h
··· 9 9 #include <uapi/asm/signal.h> 10 10 11 11 #ifndef __ASSEMBLY__ 12 - /* 13 - * DJHR 14 - * SA_STATIC_ALLOC is used for the sparc32 system to indicate that this 15 - * interrupt handler's irq structure should be statically allocated 16 - * by the request_irq routine. 17 - * The alternative is that arch/sparc/kernel/irq.c has carnal knowledge 18 - * of interrupt usage and that sucks. Also without a flag like this 19 - * it may be possible for the free_irq routine to attempt to free 20 - * statically allocated data.. which is NOT GOOD. 21 - * 22 - */ 23 - #define SA_STATIC_ALLOC 0x8000 24 12 25 13 #define __ARCH_HAS_KA_RESTORER 26 14 #define __ARCH_HAS_SA_RESTORER