• Bartlomiej Zolnierkiewicz's avatar
    [PATCH] fix OOPS for multiple IDE PCI modules and CONFIG_PROC_FS=y · 9c07b6c6
    Bartlomiej Zolnierkiewicz authored
    The problem is that when loading next IDE PCI module memory used by
    previously registered ide_pci_host_proc_list entry is already unmapped
    (because of __{dev}initdata).  This doesn't happen in built-in case
    because this memory is freed after all drivers are initialized.
    Fix it by removing __{dev}initdata from all ide_pci_host_proc_t.
    
    Thanks to Andre Tomt <andre@tomt.net> for help in debugging this.
    9c07b6c6
alim15x3.h 1.23 KB