arm64: make use of for_each_node_by_type()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Feb 2017 23:01:05 +0000 (15:01 -0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 2 Feb 2017 18:19:27 +0000 (18:19 +0000)
commit3d29a9a0f88300b7ccb642ebee61b331ef0a8c27
tree318a5976a8c4cb16d02ad3aff1ae31c851ed1cbd
parentd9ff80f83ecbf4cbdf56d32d01c312498e4fb1cd
arm64: make use of for_each_node_by_type()

Instead of open-coding the loop, let's use canned macro.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/smp.c