staging: gasket: page_table: use total_entries for max ext lvl0 page idx
authorNick Ewalt <nicholasewalt@google.com>
Mon, 17 Sep 2018 12:39:04 +0000 (05:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 11:22:01 +0000 (13:22 +0200)
commit0eaf57fb6150ac6a416cec471ab9db98740501fd
tree8bdcd76fa0a9f9f6b2d7fa02181d96c8469544a0
parent863739bda25b2e08afce65caf2762f173e78f481
staging: gasket: page_table: use total_entries for max ext lvl0 page idx

The maximum number of entries in the page table is configurable at
initialization time and should be used in gasket_extended_lvl0_page_idx.

Signed-off-by: Nick Ewalt <nicholasewalt@google.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c