diff options
author | Minfei Huang <[email protected]> | 2015-07-12 20:18:42 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-07-20 23:14:47 +0200 |
commit | 9962eea9e55f797f05f20ba6448929cab2a9f018 (patch) | |
tree | 7a5f5a06d2cf639784ec88b770990c32c594fd97 /lib/dma-debug.c | |
parent | 7ea402d01cb68224972dde3ae68bd41131b1c3a1 (diff) |
x86/mm: Initialize pmd_idx in page_table_range_init_count()
The variable pmd_idx is not initialized for the first iteration of the
for loop.
Assign the proper value which indexes the start address.
Fixes: 719272c45b82 'x86, mm: only call early_ioremap_page_table_range_init() once'
Signed-off-by: Minfei Huang <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Reviewed-by: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions