Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf15f767 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y

parent cc801077
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -61,8 +61,6 @@


DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);


unsigned long highstart_pfn, highend_pfn;

/*
/*
 * We have up to 8 empty zeroed pages so we can map one of the right colour
 * We have up to 8 empty zeroed pages so we can map one of the right colour
 * when needed.  This is necessary only on R4000 / R4400 SC and MC versions
 * when needed.  This is necessary only on R4000 / R4400 SC and MC versions
@@ -261,6 +259,8 @@ EXPORT_SYMBOL(copy_from_user_page);




#ifdef CONFIG_HIGHMEM
#ifdef CONFIG_HIGHMEM
unsigned long highstart_pfn, highend_pfn;

pte_t *kmap_pte;
pte_t *kmap_pte;
pgprot_t kmap_prot;
pgprot_t kmap_prot;