lkml.org 
[lkml]   [2014]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 22/32] genirq: Make create/destroy_irq() ia64 private
No more users outside of itanic. Confine it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
---
arch/ia64/include/asm/irq.h | 3 +++
include/linux/irq.h | 4 ----
2 files changed, 3 insertions(+), 4 deletions(-)

Index: tip/arch/ia64/include/asm/irq.h
===================================================================
--- tip.orig/arch/ia64/include/asm/irq.h
+++ tip/arch/ia64/include/asm/irq.h
@@ -31,4 +31,7 @@ bool is_affinity_mask_valid(const struct

#define is_affinity_mask_valid is_affinity_mask_valid

+int create_irq(void);
+void destroy_irq(unsigned int irq);
+
#endif /* _ASM_IA64_IRQ_H */
Index: tip/include/linux/irq.h
===================================================================
--- tip.orig/include/linux/irq.h
+++ tip/include/linux/irq.h
@@ -525,10 +525,6 @@ static inline void irq_set_percpu_devid_
IRQ_NOPROBE | IRQ_PER_CPU_DEVID);
}

-/* Handle dynamic irq creation and destruction */
-extern int create_irq(void);
-extern void destroy_irq(unsigned int irq);
-
/*
* Dynamic irq helper functions. Obsolete. Use irq_alloc_desc* and
* irq_free_desc instead.



\
 
 \ /
  Last update: 2014-05-07 18:21    [W:0.822 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site