Commit 9d9f2ccc authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc/mm: change #include "mmu_decl.h" to <mm/mmu_decl.h>

This patch make inclusion of mmu_decl.h independant of the location
of the file including it.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 71faf814
......@@ -49,7 +49,7 @@
#include <asm/machdep.h>
#include <asm/setup.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
extern int __map_without_ltlbs;
/*
......
......@@ -31,7 +31,7 @@
#include <asm/cacheflush.h>
#include <asm/code-patching.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
/* Used by the 44x TLB replacement exception handler.
* Just needed it declared someplace.
......
......@@ -17,7 +17,7 @@
#include <asm/fixmap.h>
#include <asm/code-patching.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#define IMMR_SIZE (FIX_IMMR_SIZE << PAGE_SHIFT)
......
......@@ -36,7 +36,7 @@
#include <asm/tlbflush.h>
#include <asm/dma.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
/*
* This address range defaults to a value that is safe for all
......
......@@ -54,7 +54,7 @@
#include <asm/setup.h>
#include <asm/paca.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
unsigned int tlbcam_index;
......
......@@ -47,7 +47,7 @@
#include <asm/hugetlb.h>
#include <asm/kup.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL)
/* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */
......
......@@ -66,7 +66,7 @@
#include <asm/iommu.h>
#include <asm/vdso.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
phys_addr_t memstart_addr = ~0;
EXPORT_SYMBOL_GPL(memstart_addr);
......
......@@ -54,7 +54,7 @@
#include <asm/swiotlb.h>
#include <asm/rtas.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#ifndef CPU_FTR_COHERENT_ICACHE
#define CPU_FTR_COHERENT_ICACHE 0 /* XXX for now */
......
......@@ -52,7 +52,7 @@
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
/*
* The MPC8xx has only 16 contexts. We rotate through them on each task switch.
......
......@@ -15,7 +15,7 @@
#include <asm/tlb.h>
#include <asm/dma.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#ifdef CONFIG_SPARSEMEM_VMEMMAP
/*
......
......@@ -17,7 +17,7 @@
#include <asm/trace.h>
#include <asm/powernv.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#include <trace/events/thp.h>
unsigned long __pmd_frag_nr;
......
......@@ -19,7 +19,7 @@
#include <asm/mmu.h>
#include <asm/tlb.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#define CREATE_TRACE_POINTS
#include <trace/events/thp.h>
......
......@@ -36,7 +36,7 @@
#include <asm/setup.h>
#include <asm/sections.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
unsigned long ioremap_bot;
EXPORT_SYMBOL(ioremap_bot); /* aka VMALLOC_END */
......
......@@ -52,7 +52,7 @@
#include <asm/firmware.h>
#include <asm/dma.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
#ifdef CONFIG_PPC_BOOK3S_64
......
......@@ -34,7 +34,7 @@
#include <asm/code-patching.h>
#include <asm/sections.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
struct hash_pte *Hash, *Hash_end;
unsigned long Hash_size, Hash_mask;
......
......@@ -32,7 +32,7 @@
#include <asm/tlbflush.h>
#include <asm/tlb.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
/*
* Called when unmapping pages to flush entries from the TLB/hash table.
......
......@@ -46,7 +46,7 @@
#include <asm/hugetlb.h>
#include <asm/paca.h>
#include "mmu_decl.h"
#include <mm/mmu_decl.h>
/*
* This struct lists the sw-supported page sizes. The hardawre MMU may support
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment