• Rusty Russell's avatar
    [PATCH] Clear up GFP confusion in rcpci45.c · 02b6619d
    Rusty Russell authored
    [ Jeff, Pete: looks correct.  Please check. --RR ]
    
    From:  Matthew Wilcox <willy@debian.org>
    
    
       - Move PCI ID definitions to pci_ids.h
       - The GFP_DMA in rcpci45_init_one should be GFP_KERNEL because it's a
         pci_driver ->probe method, so it can sleep.
       - The GFP_DMA in RC_allocate_and_post_buffers should be GFP_ATOMIC
         because it's called from a timer function, so it must not sleep.
    02b6619d
rcpci45.c 27.1 KB