From: Adrian Bunk The patch below makes a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- 25-akpm/arch/i386/kernel/i8259.c | 4 ++-- 25-akpm/arch/x86_64/kernel/i8259.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff -puN arch/i386/kernel/i8259.c~i386-x86_64-i8259c-make-mask_and_ack_8259a-static arch/i386/kernel/i8259.c --- 25/arch/i386/kernel/i8259.c~i386-x86_64-i8259c-make-mask_and_ack_8259a-static Mon Feb 7 15:19:24 2005 +++ 25-akpm/arch/i386/kernel/i8259.c Mon Feb 7 15:19:24 2005 @@ -50,7 +50,7 @@ static void end_8259A_irq (unsigned int #define shutdown_8259A_irq disable_8259A_irq -void mask_and_ack_8259A(unsigned int); +static void mask_and_ack_8259A(unsigned int); unsigned int startup_8259A_irq(unsigned int irq) { @@ -170,7 +170,7 @@ static inline int i8259A_irq_real(unsign * first, _then_ send the EOI, and the order of EOI * to the two 8259s is important! */ -void mask_and_ack_8259A(unsigned int irq) +static void mask_and_ack_8259A(unsigned int irq) { unsigned int irqmask = 1 << irq; unsigned long flags; diff -puN arch/x86_64/kernel/i8259.c~i386-x86_64-i8259c-make-mask_and_ack_8259a-static arch/x86_64/kernel/i8259.c --- 25/arch/x86_64/kernel/i8259.c~i386-x86_64-i8259c-make-mask_and_ack_8259a-static Mon Feb 7 15:19:24 2005 +++ 25-akpm/arch/x86_64/kernel/i8259.c Mon Feb 7 15:19:24 2005 @@ -149,7 +149,7 @@ static void end_8259A_irq (unsigned int #define shutdown_8259A_irq disable_8259A_irq -void mask_and_ack_8259A(unsigned int); +static void mask_and_ack_8259A(unsigned int); static unsigned int startup_8259A_irq(unsigned int irq) { @@ -273,7 +273,7 @@ static inline int i8259A_irq_real(unsign * first, _then_ send the EOI, and the order of EOI * to the two 8259s is important! */ -void mask_and_ack_8259A(unsigned int irq) +static void mask_and_ack_8259A(unsigned int irq) { unsigned int irqmask = 1 << irq; unsigned long flags; _