summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-05-18 16:44:54 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2016-05-24 12:59:04 +0100
commitdd14be92fbf5bc1ef7343f34968440e44e21b46a (patch)
tree22333953e2ca1753ada672ce79e62c7d4f1dd542 /drivers/mtd/nand
parentf0f393877c71ad227d36705d61d1e4062bc29cf5 (diff)
xen: use same main loop for counting and remapping pages
Instead of having two functions for cycling through the E820 map in order to count to be remapped pages and remap them later, just use one function with a caller supplied sub-function called for each region to be processed. This eliminates the possibility of a mismatch between both loops which showed up in certain configurations. Suggested-by: Ed Swierk <eswierk@skyportsystems.com> Signed-off-by: Juergen Gross <jgross@suse.com> Cc: <stable@vger.kernel.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/mtd/nand')
0 files changed, 0 insertions, 0 deletions