bank8k: Redefine page map table to not include LOBANK
authorTormod Volden <debian.tormod@gmail.com>
Mon, 7 Jan 2019 21:28:53 +0000 (22:28 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 8 Jan 2019 16:59:45 +0000 (16:59 +0000)
commitf7ba35854d9e09e5e45f5ffd52ad4fc4c57be855
tree3ef74f856f67b2716407d6ff4bd364c322cba6fd
parent3f11af662f546ba54626b5ebabec4b00d6be82fa
bank8k: Redefine page map table to not include LOBANK

The first element corresponds to the first page slot to be mapped.

If LOBANK is not zero, we will have fewer page slots to go through.

Use moving ptr instead of indexing it, to keep all compilers from
messing up.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/bank8k.c