RE: [PATCH -mm] dma: INTEL_IOATDMA build fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Satyam Sharma [mailto:[email protected]] 
>
>Make CONFIG_INTEL_IOATDMA select CONFIG_DCA because it uses code
>exported from said dependency:
>
># CONFIG_DCA is not set
>CONFIG_INTEL_IOATDMA=m
>
>ERROR: "alloc_dca_provider" [drivers/dma/ioatdma.ko] undefined!
>ERROR: "register_dca_provider" [drivers/dma/ioatdma.ko] undefined!
>ERROR: "unregister_dca_provider" [drivers/dma/ioatdma.ko] undefined!
>ERROR: "free_dca_provider" [drivers/dma/ioatdma.ko] undefined!
>make[1]: *** [__modpost] Error 1
>
>"select" seems ok because CONFIG_DCA looks library-like and 
>doesn't itself
>depend upon anything else.
>
>Signed-off-by: Satyam Sharma <[email protected]>

Well, ioatdma should be smarter and not try to use ioat_dca.c if there
is no CONFIG_DCA.  However, until that happens, this is fine.

Signed-off-by: Shannon Nelson <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux