]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/crash_dump: use for_each_mem_range
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 15 Sep 2015 18:54:24 +0000 (00:54 +0600)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:01 +0000 (14:32 +0200)
commit3c4aac86cbb3389d74152a83c89cf3a31fd7cc0b
tree4fc2ca9100fd20b8548488c7f9ca7f73fb76708f
parent1afc82aee45c118dc8026d54a230e75ff6baee66
s390/crash_dump: use for_each_mem_range

The <linux/memblock.h> already provides for_each_mem_range() macro that
iterates through memblock areas from type_a and not included in type_b.
We can remove custom for_each_dump_mem_range() macro and use the
for_each_mem_range() instead.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/crash_dump.c