powerpc: Remove duplicate tlbcam_index declarations
authorEmil Medve <Emilian.Medve@freescale.com>
Wed, 21 Jan 2015 22:22:52 +0000 (16:22 -0600)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 01:59:03 +0000 (19:59 -0600)
They seem to be leftovers from '14cf11a powerpc: Merge enough to start
building in arch/powerpc'

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/mm/fsl_booke_mmu.c
arch/powerpc/mm/pgtable_32.c

index 94cd728166d37a1be14a8867ec1ea2f059249d96..b46912fee7cd6dfee85e5068d9eef717080861b0 100644 (file)
@@ -67,8 +67,6 @@ struct tlbcamrange {
        phys_addr_t phys;
 } tlbcam_addrs[NUM_TLBCAMS];
 
-extern unsigned int tlbcam_index;
-
 unsigned long tlbcam_sz(int idx)
 {
        return tlbcam_addrs[idx].limit - tlbcam_addrs[idx].start + 1;
index 50fad3801f3040d1ee479e3af963576dbaeb0ce9..6eec88685a71b5c5f805f3eebfb031f399957288 100644 (file)
@@ -63,7 +63,6 @@ void setbat(int index, unsigned long virt, phys_addr_t phys,
 #endif /* HAVE_BATS */
 
 #ifdef HAVE_TLBCAM
-extern unsigned int tlbcam_index;
 extern phys_addr_t v_mapped_by_tlbcam(unsigned long va);
 extern unsigned long p_mapped_by_tlbcam(phys_addr_t pa);
 #else /* !HAVE_TLBCAM */