1. 25 Jun, 2015 1 commit
  2. 13 Sep, 2013 1 commit
  3. 13 Oct, 2012 1 commit
  4. 28 Oct, 2010 1 commit
  5. 12 Oct, 2010 1 commit
  6. 29 Aug, 2009 1 commit
  7. 11 Jan, 2009 2 commits
    • Mike Travis's avatar
      cpumask, irq: non-x86 build failures · 92296c6d
      Mike Travis authored
      Ingo Molnar wrote:
      
      > All non-x86 architectures fail to build:
      >
      > In file included from /home/mingo/tip/include/linux/random.h:11,
      >                  from /home/mingo/tip/include/linux/stackprotector.h:6,
      >                  from /home/mingo/tip/init/main.c:17:
      > /home/mingo/tip/include/linux/irqnr.h:26:63: error: asm/irq_vectors.h: No such file or directory
      
      Do not include asm/irq_vectors.h in generic code - it's not available
      on all architectures.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      92296c6d
    • Mike Travis's avatar
      irq: initialize nr_irqs based on nr_cpu_ids · 9332fccd
      Mike Travis authored
      Impact: Reduce memory usage.
      
      This is the second half of the changes to make the irq_desc_ptrs be
      variable sized based on nr_cpu_ids.  This is done by adding a new
      "max_nr_irqs" macro to irq_vectors.h (and a dummy in irqnr.h) to
      return a max NR_IRQS value based on NR_CPUS or nr_cpu_ids.
      
      This necessitated moving the define of MAX_IO_APICS to a separate
      file (asm/apicnum.h) so it could be included without the baggage
      of the other asm/apicdef.h declarations.
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      9332fccd
  8. 07 Jan, 2009 1 commit
  9. 05 Jan, 2009 1 commit
  10. 26 Dec, 2008 2 commits
  11. 12 Dec, 2008 1 commit
    • Ingo Molnar's avatar
      sparse irqs: handle !GENIRQ platforms · 0ebb26e7
      Ingo Molnar authored
      Impact: build fix
      
      fix:
      
       In file included from /home/mingo/tip/arch/m68k/amiga/amiints.c:39:
       /home/mingo/tip/include/linux/interrupt.h:21: error: expected identifier or '('
       /home/mingo/tip/arch/m68k/amiga/amiints.c: In function 'amiga_init_IRQ':
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0ebb26e7
  12. 08 Dec, 2008 2 commits
    • Yinghai Lu's avatar
      sparseirq: fix Alpha build failure · 240d367b
      Yinghai Lu authored
      Impact: build fix on Alpha
      
      -tip testing found this build failure on the Alpha defconfig:
      
      /home/mingo/tip/fs/proc/stat.c: In function 'show_stat':
      /home/mingo/tip/fs/proc/stat.c:48: error: implicit declaration of function 'for_each_irq_desc'
      /home/mingo/tip/fs/proc/stat.c:48: error: expected ';' before '{' token
      
      can not use irq_desc() in stat.c on older architectures.
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.orgg>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      240d367b
    • Yinghai Lu's avatar
      sparse irq_desc[] array: core kernel and x86 changes · 0b8f1efa
      Yinghai Lu authored
      Impact: new feature
      
      Problem on distro kernels: irq_desc[NR_IRQS] takes megabytes of RAM with
      NR_CPUS set to large values. The goal is to be able to scale up to much
      larger NR_IRQS value without impacting the (important) common case.
      
      To solve this, we generalize irq_desc[NR_IRQS] to an (optional) array of
      irq_desc pointers.
      
      When CONFIG_SPARSE_IRQ=y is used, we use kzalloc_node to get irq_desc,
      this also makes the IRQ descriptors NUMA-local (to the site that calls
      request_irq()).
      
      This gets rid of the irq_cfg[] static array on x86 as well: irq_cfg now
      uses desc->chip_data for x86 to store irq_cfg.
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0b8f1efa
  13. 21 Oct, 2008 1 commit
  14. 18 Oct, 2008 1 commit