diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index c252aae544e9..1d647ab0ee72 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -1455,7 +1455,7 @@ static int apply_to_pte_range(struct mm_struct *mm, pmd_t *pmd, | |||
1455 | pte_t *pte; | 1455 | pte_t *pte; |
1456 | int err; | 1456 | int err; |
1457 | struct page *pmd_page; | 1457 | struct page *pmd_page; |
1458 | spinlock_t *ptl = ptl; /* Suppress gcc warning */ | 1458 | spinlock_t *uninitialized_var(ptl); |
1459 | 1459 | ||
1460 | pte = (mm == &init_mm) ? | 1460 | pte = (mm == &init_mm) ? |
1461 | pte_alloc_kernel(pmd, addr) : | 1461 | pte_alloc_kernel(pmd, addr) : |