lkml.org 
[lkml]   [2011]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 07/37] cris: Use generic irq Kconfig
    Use the generic irq Kconfig. Select GENERIC_HARDIRQS_NO_DEPRECATED as
    we have converted all irq_chip functions. Fix the fallout in
    show_interrupts().

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: Mikael Starvik <starvik@axis.com>
    ---
    arch/cris/Kconfig | 6 ++----
    arch/cris/kernel/irq.c | 2 +-
    2 files changed, 3 insertions(+), 5 deletions(-)

    Index: linux-2.6/arch/cris/Kconfig
    ===================================================================
    --- linux-2.6.orig/arch/cris/Kconfig
    +++ linux-2.6/arch/cris/Kconfig
    @@ -54,6 +54,8 @@ config CRIS
    bool
    default y
    select HAVE_IDE
    + select HAVE_GENERIC_HARDIRQS
    + select GENERIC_HARDIRQS_NO_DEPRECATED

    config HZ
    int
    @@ -67,10 +69,6 @@ menu "General setup"

    source "fs/Kconfig.binfmt"

    -config GENERIC_HARDIRQS
    - bool
    - default y
    -
    config ETRAX_CMDLINE
    string "Kernel command line"
    default "root=/dev/mtdblock3"
    Index: linux-2.6/arch/cris/kernel/irq.c
    ===================================================================
    --- linux-2.6.orig/arch/cris/kernel/irq.c
    +++ linux-2.6/arch/cris/kernel/irq.c
    @@ -62,7 +62,7 @@ int show_interrupts(struct seq_file *p,
    for_each_online_cpu(j)
    seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
    #endif
    - seq_printf(p, " %14s", irq_desc[i].chip->name);
    + seq_printf(p, " %14s", irq_desc[i].irq_data.chip->name);
    seq_printf(p, " %s", action->name);

    for (action=action->next; action; action = action->next)



    \
     
     \ /
      Last update: 2011-01-19 22:59    [W:0.025 / U:1.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site