public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Coywolf Qi Hunt <coywolf@lovecn.org>
Cc: Coywolf Qi Hunt <coywolf@gmail.com>,
	Zwane Mwaikambo <zwane@arm.linux.org.uk>,
	Andrew Morton <akpm@osdl.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Andi Kleen <ak@muc.de>
Subject: Re: 2.6.12-rc3-mm1
Date: Sat, 30 Apr 2005 20:56:04 +0200	[thread overview]
Message-ID: <20050430185604.GH3571@stusta.de> (raw)
In-Reply-To: <20050430180823.GA14922@lovecn.org>

On Sun, May 01, 2005 at 02:08:23AM +0800, Coywolf Qi Hunt wrote:
> On Sun, May 01, 2005 at 01:05:52AM +0800, Coywolf Qi Hunt wrote:
> ... 
> > I was trying to fix this too. You are quicker and better than me. In
> > addition, this redundant  include should be removed.
> 
> s/redundant/duplicate/
> 
> OK, since Zwane thinks my patch is "good in that its minimal impact", here it is.
> I've compile tested for SMP and UP.
> 
> This removes the compile warning: implicit declaration of function `set_irq_info' and a duplicate include line.
> 
> Signed-off-by: Coywolf Qi Hunt <coywolf@lovecn.org>
> ---
> 
> diff -pruN 2.6.12-rc3-mm1/arch/i386/kernel/io_apic.c 2.6.12-rc3-mm1-cy2/arch/i386/kernel/io_apic.c
> --- 2.6.12-rc3-mm1/arch/i386/kernel/io_apic.c	2005-04-30 19:15:46.000000000 +0800
> +++ 2.6.12-rc3-mm1-cy2/arch/i386/kernel/io_apic.c	2005-05-01 00:49:27.000000000 +0800
> @@ -32,7 +32,6 @@
>  #include <linux/compiler.h>
>  #include <linux/acpi.h>
>  #include <linux/sysdev.h>
> -#include <linux/irq.h>
>  #include <asm/io.h>
>  #include <asm/smp.h>
>  #include <asm/desc.h>
> diff -pruN 2.6.12-rc3-mm1/include/linux/irq.h 2.6.12-rc3-mm1-cy2/include/linux/irq.h
> --- 2.6.12-rc3-mm1/include/linux/irq.h	2005-04-30 19:16:26.000000000 +0800
> +++ 2.6.12-rc3-mm1-cy2/include/linux/irq.h	2005-05-01 00:51:31.000000000 +0800
> @@ -161,6 +161,7 @@ static inline void set_irq_info(int irq,
>  #else
>  #define move_irq(x)
>  #define move_native_irq(x)
> +extern void set_irq_info(unsigned int irq, cpumask_t mask);
>  #endif // CONFIG_GENERIC_PENDING_IRQ
>  
>  extern int no_irq_affinity;


Is it planned that the empty set_irq_info() function in 
kernel/irq/manage.c will ever contain real code?

If not, an empty static inline as in the CONFIG_PCI_MSI=y && 
CONFIG_GENERIC_PENDING_IRQ=y case would generate better code.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2005-04-30 18:56 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-30  6:16 2.6.12-rc3-mm1 Andrew Morton
2005-04-30  9:40 ` 2.6.12-rc3-mm1 Brice Goglin
2005-04-30 10:30 ` 2.6.12-rc3-mm1 Brice Goglin
2005-04-30 10:38   ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 11:10 ` 2.6.12-rc3-mm1 Alexander Nyberg
2005-04-30 11:26   ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 11:52 ` [-mm patch] SIS900 must select MII Adrian Bunk
2005-05-01 16:43   ` Daniele Venzano
2005-05-15 22:24   ` Jeff Garzik
2005-04-30 12:27 ` 2.6.12-rc3-mm1 Ed Tomlinson
2005-04-30 22:08   ` 2.6.12-rc3-mm1 Valdis.Kletnieks
2005-04-30 22:36   ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 22:51     ` 2.6.12-rc3-mm1 Jesper Juhl
2005-04-30 22:53     ` 2.6.12-rc3-mm1 Ed Tomlinson
2005-04-30 23:05       ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 23:10         ` 2.6.12-rc3-mm1 Randy.Dunlap
2005-05-01 13:09           ` 2.6.12-rc3-mm1 Ed Tomlinson
2005-05-01 13:30             ` 2.6.12-rc3-mm1 Adrian Bunk
2005-05-02 15:28               ` 2.6.12-rc3-mm1 Valdis.Kletnieks
2005-05-02 15:49                 ` 2.6.12-rc3-mm1 Randy.Dunlap
2005-05-02 16:11                   ` 2.6.12-rc3-mm1 Valdis.Kletnieks
2005-05-02 22:20                     ` 2.6.12-rc3-mm1 Andrew Morton
2005-05-02 22:39                       ` 2.6.12-rc3-mm1 Olivier Galibert
2005-05-03  0:34                       ` 2.6.12-rc3-mm1 Randy.Dunlap
2005-05-02 22:41                 ` 2.6.12-rc3-mm1 Frank Sorenson
2005-05-03 16:02                   ` 2.6.12-rc3-mm1 Bill Davidsen
2005-05-01 13:19       ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 12:46 ` 2.6.12-rc3-mm1 doesn't boot Adrian Bunk
2005-04-30 12:57   ` Carlos Martin
2005-04-30 13:25 ` 2.6.12-rc3-mm1 Alexander Nyberg
2005-04-30 13:50   ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 14:07 ` 2.6.12-rc3-mm1 Richard Purdie
2005-04-30 15:04   ` 2.6.12-rc3-mm1 Russell King
2005-04-30 19:49   ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 22:03     ` 2.6.12-rc3-mm1 Richard Purdie
2005-04-30 14:20 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 16:43   ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 17:05     ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 18:08       ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 18:56         ` Adrian Bunk [this message]
2005-04-30 19:46         ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 20:01           ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-05-08  3:53           ` 2.6.12-rc3-mm1 Li Shaohua
2005-04-30 18:30   ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 18:58     ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 15:29 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 15:39   ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 15:44     ` 2.6.12-rc3-mm1 Brice Goglin
2005-04-30 16:02       ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 15:48     ` 2.6.12-rc3-mm1 Carlos Martin
2005-04-30 15:48     ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 23:34 ` 2.6.12-rc3-mm1 (a-new-10gb-ethernet-driver-by-chelsio-communications.patch) Alexey Dobriyan
  -- strict thread matches above, loose matches on Subject: below --
2005-05-01  8:49 2.6.12-rc3-mm1 Li, Shaohua
     [not found] <fa.gbejpad.1vj8f9r@ifi.uio.no>
2005-05-03  9:00 ` 2.6.12-rc3-mm1 Reuben Farrelly
2005-05-03  9:07   ` 2.6.12-rc3-mm1 Andrew Morton
2005-05-03  9:49     ` 2.6.12-rc3-mm1 Reuben Farrelly

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=20050430185604.GH3571@stusta.de \
    --to=bunk@stusta.de \
    --cc=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=coywolf@gmail.com \
    --cc=coywolf@lovecn.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zwane@arm.linux.org.uk \
    /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