diff options
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/tlbflush_64.h | 1 | ||||
-rw-r--r-- | arch/sparc/mm/init_64.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/tlbflush_64.h b/arch/sparc/include/asm/tlbflush_64.h index f0d6a9700f4c..3c3c89f52643 100644 --- a/arch/sparc/include/asm/tlbflush_64.h +++ b/arch/sparc/include/asm/tlbflush_64.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef _SPARC64_TLBFLUSH_H | 1 | #ifndef _SPARC64_TLBFLUSH_H |
2 | #define _SPARC64_TLBFLUSH_H | 2 | #define _SPARC64_TLBFLUSH_H |
3 | 3 | ||
4 | #include <linux/mm.h> | ||
5 | #include <asm/mmu_context.h> | 4 | #include <asm/mmu_context.h> |
6 | 5 | ||
7 | /* TSB flush operations. */ | 6 | /* TSB flush operations. */ |
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 6b643790e4fe..5322e530d09c 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -2565,8 +2565,6 @@ pgtable_t pte_alloc_one(struct mm_struct *mm, | |||
2565 | { | 2565 | { |
2566 | struct page *page = alloc_page(GFP_KERNEL | __GFP_NOTRACK | | 2566 | struct page *page = alloc_page(GFP_KERNEL | __GFP_NOTRACK | |
2567 | __GFP_REPEAT | __GFP_ZERO); | 2567 | __GFP_REPEAT | __GFP_ZERO); |
2568 | pte_t *pte = NULL; | ||
2569 | |||
2570 | if (!page) | 2568 | if (!page) |
2571 | return NULL; | 2569 | return NULL; |
2572 | if (!pgtable_page_ctor(page)) { | 2570 | if (!pgtable_page_ctor(page)) { |