powerpc: Remove duplicate tlbcam_index declarations
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>
This commit is contained in:
@@ -67,8 +67,6 @@ struct tlbcamrange {
|
|||||||
phys_addr_t phys;
|
phys_addr_t phys;
|
||||||
} tlbcam_addrs[NUM_TLBCAMS];
|
} tlbcam_addrs[NUM_TLBCAMS];
|
||||||
|
|
||||||
extern unsigned int tlbcam_index;
|
|
||||||
|
|
||||||
unsigned long tlbcam_sz(int idx)
|
unsigned long tlbcam_sz(int idx)
|
||||||
{
|
{
|
||||||
return tlbcam_addrs[idx].limit - tlbcam_addrs[idx].start + 1;
|
return tlbcam_addrs[idx].limit - tlbcam_addrs[idx].start + 1;
|
||||||
|
@@ -63,7 +63,6 @@ void setbat(int index, unsigned long virt, phys_addr_t phys,
|
|||||||
#endif /* HAVE_BATS */
|
#endif /* HAVE_BATS */
|
||||||
|
|
||||||
#ifdef HAVE_TLBCAM
|
#ifdef HAVE_TLBCAM
|
||||||
extern unsigned int tlbcam_index;
|
|
||||||
extern phys_addr_t v_mapped_by_tlbcam(unsigned long va);
|
extern phys_addr_t v_mapped_by_tlbcam(unsigned long va);
|
||||||
extern unsigned long p_mapped_by_tlbcam(phys_addr_t pa);
|
extern unsigned long p_mapped_by_tlbcam(phys_addr_t pa);
|
||||||
#else /* !HAVE_TLBCAM */
|
#else /* !HAVE_TLBCAM */
|
||||||
|
Reference in New Issue
Block a user