fedoraproject@6speed.de / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
e293be
diff -up ./mm/huge_memory.c.pmd ./mm/huge_memory.c
e293be
--- ./mm/huge_memory.c.pmd	2018-11-02 11:12:17.000000000 +0900
e293be
+++ ./mm/huge_memory.c	2018-11-02 11:32:28.000000000 +0900
e293be
@@ -1370,7 +1370,7 @@ static int do_huge_pmd_wp_page_fallback(
e293be
 	unsigned long haddr = address & HPAGE_PMD_MASK;
e293be
 	spinlock_t *ptl;
e293be
 	pgtable_t pgtable;
e293be
-	pmd_t _pmd = {{{0}}};
e293be
+	pmd_t _pmd = {0};
e293be
 	int ret = 0, i;
e293be
 	struct page **pages;
e293be
 	unsigned long mmun_start;	/* For mmu_notifiers */
e293be
@@ -2313,7 +2313,7 @@ static int __split_huge_page_map(struct
e293be
 {
e293be
 	struct mm_struct *mm = vma->vm_mm;
e293be
 	spinlock_t *ptl;
e293be
-	pmd_t *pmd, _pmd = {{{0}}};
e293be
+	pmd_t *pmd, _pmd = {0};
e293be
 	int ret = 0, i;
e293be
 	pgtable_t pgtable;
e293be
 	unsigned long haddr;