efi_loader: avoid obscure constants in efi_runtime.c
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 18 Sep 2017 20:11:34 +0000 (22:11 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 18 Sep 2017 21:53:56 +0000 (23:53 +0200)
commit591cf2e1614572552aa952717eb40927aaa471c3
tree5381dc024fa22beafd916383abc681cebc5599db
parenteefa0a647d34aaa09ceeb1781d5d81a4994d8b6a
efi_loader: avoid obscure constants in efi_runtime.c

We should use the predefined constants EFI_PAGE_SHIFT
and EFI_PAGE_MASK where applicable.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_runtime.c