diff options
| author | Minfei Huang <mnfhuang@gmail.com> | 2015-07-12 20:18:42 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 20:02:03 +0200 |
| commit | 46818cd629475aebd4a7969dbe60aa0960d39e3d (patch) | |
| tree | b3104a58f5dba8e1587dab9cb53831e830511aa2 /include | |
| parent | c47ca4e72ab9c72884e33257b1bec69e82b09736 (diff) | |
x86/mm: Initialize pmd_idx in page_table_range_init_count()
commit 9962eea9e55f797f05f20ba6448929cab2a9f018 upstream.
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 <mnfhuang@gmail.com>
Cc: tony.luck@intel.com
Cc: wangnan0@huawei.com
Cc: david.vrabel@citrix.com
Reviewed-by: yinghai@kernel.org
Link: http://lkml.kernel.org/r/1436703522-29552-1-git-send-email-mhuang@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
