Skip to content

Commit

Permalink
sparc: remove SA_STATIC_ALLOC macro definition
Browse files Browse the repository at this point in the history
This macro is not exposed to uapi and is unreferenced in the
kernel. The last reference to it was removed in commit 4c6773c
("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>
  • Loading branch information
Peter Collingbourne authored and David S. Miller committed Sep 15, 2020
1 parent 0a95a6d commit 4cc8ca0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions arch/sparc/include/asm/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@
#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

#define __ARCH_HAS_KA_RESTORER
#define __ARCH_HAS_SA_RESTORER
Expand Down

0 comments on commit 4cc8ca0

Please sign in to comment.