]> git.baikalelectronics.ru Git - kernel.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)
commitb5af7ec412b6008e1a49a83e91104f77d5617e92
tree4fc2ca9100fd20b8548488c7f9ca7f73fb76708f
parent0563b29d49e26a4315d2c5414f1ad01d820dffb9
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