• Paul Jimenez's avatar
    x86: make i8259_64 more _32-like · 2b8e05b5
    Paul Jimenez authored
    Howdy! Here's a simple janitorish patch for you:
    
    This patch mainly hinges around two includes and their ramifications:
    
    #include <i8259.h>	which provides cached_{slave,master}_mask
    #include <io_ports.h>	which provides PIC_{MASTER,SLAVE}_{IMR,CMD}
    
    Adding these two includes and using those half dozen or so definitions
    removed 140+ lines of diffs between i8259_32.c and i8259_64.c, thus
    making it easier for the real substantitive differences between them to
    show up, and hopefully therefore making it easier to eventually merge
    the two.  All the warnings that checkpatch.pl throws (missing spaces
    after commas and >80 character lines) exist intentionally to match
    i8259_32.c.
    Signed-off-by: default avatarPaul Jimenez <pj@place.org>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    2b8e05b5
i8259_64.c 13.3 KB