GHES: Elliminate double-loop in the NMI handler
authorBorislav Petkov <bp@suse.de>
Wed, 18 Mar 2015 09:12:35 +0000 (10:12 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 27 Apr 2015 19:27:35 +0000 (21:27 +0200)
commit2383844d4850888cfdf6d202563d2ddb4125a4e9
tree279614f1102aee6e753be680b83dbf25ae032348
parent6169ddf846c528509e66a0fe7804393aa330a970
GHES: Elliminate double-loop in the NMI handler

There's no real need to iterate twice over the HW error sources in the
NMI handler. With the previous cleanups, elliminating the second loop is
almost trivial.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/acpi/apei/ghes.c