summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/tlb_nohash.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2016-07-13 11:36:39 +0200
committerMichael Ellerman2016-08-01 03:15:10 +0200
commit9d4dab11585ab2ef25d5d2a00a23b25b552c4080 (patch)
treeaa01fd4e59855c0cfa7fe79ee6c69a4f738798d9 /arch/powerpc/mm/tlb_nohash.c
parentpowerpc/mm: Use hugetlb flush functions (diff)
downloadkernel-qcow2-linux-9d4dab11585ab2ef25d5d2a00a23b25b552c4080.tar.gz
kernel-qcow2-linux-9d4dab11585ab2ef25d5d2a00a23b25b552c4080.tar.xz
kernel-qcow2-linux-9d4dab11585ab2ef25d5d2a00a23b25b552c4080.zip
powerpc/mm: Drop multiple definition of mm_is_core_local
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/tlb_nohash.c')
-rw-r--r--arch/powerpc/mm/tlb_nohash.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c
index f4668488512c..050badc0ebd3 100644
--- a/arch/powerpc/mm/tlb_nohash.c
+++ b/arch/powerpc/mm/tlb_nohash.c
@@ -215,12 +215,6 @@ EXPORT_SYMBOL(local_flush_tlb_page);
static DEFINE_RAW_SPINLOCK(tlbivax_lock);
-static int mm_is_core_local(struct mm_struct *mm)
-{
- return cpumask_subset(mm_cpumask(mm),
- topology_sibling_cpumask(smp_processor_id()));
-}
-
struct tlb_flush_param {
unsigned long addr;
unsigned int pid;