s390/setup: fix DMA_API_DEBUG warnings
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 16 Jun 2015 12:03:37 +0000 (14:03 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 18 Jun 2015 13:45:46 +0000 (15:45 +0200)
commit0c36b8ac7052eafed952ad3487ed8671dc9dc5f9
treea21c1f42b85f175429f9da8365540f6f67e40a92
parentd9a5c0c65bb93e6c0236c73fe560fe980c3a5d1c
s390/setup: fix DMA_API_DEBUG warnings

Addresses from the usable space in [_ehead, _stext] lead to false
positives in DMA_API_DEBUG code (which will complain when an address
is in [_text, _etext]).

Avoid these warnings by not using that memory in case of
CONFIG_DMA_API_DEBUG=y.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c