mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yong Zhang <yong.zhang0@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
	Yinghai Lu <yinghai@kernel.org>
Subject: [PATCH] irq: remove __weak early_irq_init()
Date: Fri, 6 Nov 2009 14:00:55 +0800	[thread overview]
Message-ID: <2674af740911052200m141e71d5v37d621d23771aa91@mail.gmail.com> (raw)

>From 86a53664e3f503fe06b166fb248ed64a77212b3d Mon Sep 17 00:00:00 2001
From: Yong Zhang <yong.zhang0@gmail.com>
Date: Fri, 6 Nov 2009 13:53:30 +0800
Subject: [PATCH] irq: remove __weak early_irq_init()

impact: cleanup

Since commit 12026ea16a618b289fcf457661aed24f57323a20
early_irq_init() is always defined in kernel/irq/handle.c
So remove the weak definition.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
---
 kernel/softirq.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index f8749e5..5e881e3 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -886,11 +886,6 @@ EXPORT_SYMBOL(on_each_cpu);
  *   GCC does not inline them incorrectly. ]
  */

-int __init __weak early_irq_init(void)
-{
-	return 0;
-}
-
 int __init __weak arch_probe_nr_irqs(void)
 {
 	return 0;
-- 
1.6.3.3

             reply	other threads:[~2009-11-06  6:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06  6:00 Yong Zhang [this message]
2009-11-06  6:08 ` Yinghai Lu
2009-11-06  6:51   ` Yong Zhang

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=2674af740911052200m141e71d5v37d621d23771aa91@mail.gmail.com \
    --to=yong.zhang0@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=yinghai@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®