From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] kernel/irq/spurious.c: make a function static
Date: Thu, 3 Mar 2005 22:49:37 +0100 [thread overview]
Message-ID: <20050303214937.GQ4608@stusta.de> (raw)
This patch makes a needlessly global function static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/linux/irq.h | 1 -
kernel/irq/spurious.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.11-rc5-mm1-full/include/linux/irq.h.old 2005-03-03 16:32:01.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/include/linux/irq.h 2005-03-03 16:32:09.000000000 +0100
@@ -85,7 +85,6 @@
struct irqaction *action);
extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs);
extern void note_interrupt(unsigned int irq, irq_desc_t *desc, int action_ret, struct pt_regs *regs);
-extern void report_bad_irq(unsigned int irq, irq_desc_t *desc, int action_ret);
extern int can_request_irq(unsigned int irq, unsigned long irqflags);
extern void init_irq_proc(void);
--- linux-2.6.11-rc5-mm1-full/kernel/irq/spurious.c.old 2005-03-03 16:32:27.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/kernel/irq/spurious.c 2005-03-03 16:32:33.000000000 +0100
@@ -116,7 +116,7 @@
}
}
-void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
+static void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret)
{
static int count = 100;
next reply other threads:[~2005-03-03 21:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 21:49 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-15 15:10 [2.6 patch] kernel/irq/spurious.c: make a function static Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050303214937.GQ4608@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.