summaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-11-12 12:13:57 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 21:41:09 -0800
commit4ba2bd2c4729caaf6702c5426ffb7c65b9b1405d (patch)
tree25de1f7bad5edcef8f177eccc9b5b6020e5a885e /include/linux/init_task.h
parent4bf8855ea964d7faa5dece0a3dd032d47f4b9a42 (diff)
ALSA: pci: depend on ZONE_DMA
commit 2db1a57986d37653583e67ccbf13082aadc8f25d upstream. There are several sound drivers that 'select ZONE_DMA'. This is backwards as ZONE_DMA is an architecture capability exported to drivers. Switch the polarity of the dependency to disable these drivers when the architecture does not support ZONE_DMA. This was discovered in the context of testing/enabling devm_memremap_pages() which depends on ZONE_DEVICE. ZONE_DEVICE in turn depends on !ZONE_DMA. Reported-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions