diff options
Diffstat (limited to 'arch/powerpc/include')
| -rw-r--r-- | arch/powerpc/include/asm/irq.h | 4 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/mpic.h | 18 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/mpic_msgr.h | 1 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/reg_booke.h | 5 | 
4 files changed, 1 insertions, 27 deletions
diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h index e648af92ced..0e40843a1c6 100644 --- a/arch/powerpc/include/asm/irq.h +++ b/arch/powerpc/include/asm/irq.h @@ -18,10 +18,6 @@  #include <linux/atomic.h> -/* Define a way to iterate across irqs. */ -#define for_each_irq(i) \ -	for ((i) = 0; (i) < NR_IRQS; ++(i)) -  extern atomic_t ppc_n_lost_interrupts;  /* This number is used when no interrupt has been assigned */ diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h index c65b9294376..c9f698a994b 100644 --- a/arch/powerpc/include/asm/mpic.h +++ b/arch/powerpc/include/asm/mpic.h @@ -275,9 +275,6 @@ struct mpic  	unsigned int		isu_mask;  	/* Number of sources */  	unsigned int		num_sources; -	/* default senses array */ -	unsigned char		*senses; -	unsigned int		senses_count;  	/* vector numbers used for internal sources (ipi/timers) */  	unsigned int		ipi_vecs[4]; @@ -415,21 +412,6 @@ extern struct mpic *mpic_alloc(struct device_node *node,  extern void mpic_assign_isu(struct mpic *mpic, unsigned int isu_num,  			    phys_addr_t phys_addr); -/* Set default sense codes - * - * @mpic:	controller - * @senses:	array of sense codes - * @count:	size of above array - * - * Optionally provide an array (indexed on hardware interrupt numbers - * for this MPIC) of default sense codes for the chip. Those are linux - * sense codes IRQ_TYPE_* - * - * The driver gets ownership of the pointer, don't dispose of it or - * anything like that. __init only. - */ -extern void mpic_set_default_senses(struct mpic *mpic, u8 *senses, int count); -  /* Initialize the controller. After this has been called, none of the above   * should be called again for this mpic diff --git a/arch/powerpc/include/asm/mpic_msgr.h b/arch/powerpc/include/asm/mpic_msgr.h index 3ec37dc9003..326d33ca55c 100644 --- a/arch/powerpc/include/asm/mpic_msgr.h +++ b/arch/powerpc/include/asm/mpic_msgr.h @@ -13,6 +13,7 @@  #include <linux/types.h>  #include <linux/spinlock.h> +#include <asm/smp.h>  struct mpic_msgr {  	u32 __iomem *base; diff --git a/arch/powerpc/include/asm/reg_booke.h b/arch/powerpc/include/asm/reg_booke.h index b86faa9107d..8a97aa7289d 100644 --- a/arch/powerpc/include/asm/reg_booke.h +++ b/arch/powerpc/include/asm/reg_booke.h @@ -15,11 +15,6 @@  #ifndef __ASM_POWERPC_REG_BOOKE_H__  #define __ASM_POWERPC_REG_BOOKE_H__ -#ifdef CONFIG_BOOKE_WDT -extern u32 booke_wdt_enabled; -extern u32 booke_wdt_period; -#endif /* CONFIG_BOOKE_WDT */ -  /* Machine State Register (MSR) Fields */  #define MSR_GS		(1<<28) /* Guest state */  #define MSR_UCLE	(1<<26)	/* User-mode cache lock enable */  |