• James Blackwell's avatar
    [PATCH] Toshiba.c IRQ Patch (Christoph Hellwig eats people?) · bdd82e81
    James Blackwell authored
    Somewhere around 2.5.31 the method for setting and clearing interrupts
    changed:
    
    From-                     To-
    save_flags(flags);        local_irq_save(flags);
    cli();
    
    restore_flags(flags);     local_irq_restore(flags);
    
    
    Though bordering on trivial, including toshiba support with stock 2.5.34
    fails to compile, which this patch seems to fix. This patch fixes this
    issue and has worked reliably for me under 2.5.31, though it is untested on
    2.5.32 and 2.5.33 because I didn't manage to get those to work.
    
    A note to those that are a bit rough on kernel patch newbies.... submitting
    a kernel patch for the very first time is a rather intimidating experience
    so please don't chew my head off unless its absolutely necessary.
    
    See my point? I was so worried that Cristoph Hellwig is going to come to
    my house and eat me I forgot to include the patch itself. :)
    bdd82e81
toshiba.c 12.4 KB