ARC: fix potential build snafu
authorVineet Gupta <vgupta@kernel.org>
Fri, 15 Oct 2021 17:43:35 +0000 (10:43 -0700)
committerVineet Gupta <vgupta@kernel.org>
Sat, 16 Oct 2021 01:06:32 +0000 (18:06 -0700)
In the big pgtable header split, I inadvertently introduced a couple of
duplicate symbols.

Fixes: fe6cb7b043b69cd9 ("ARC: mm: disintegrate pgtable.h into levels and flags")
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/pgtable.h

index 9320b04..4cf45a9 100644 (file)
@@ -26,11 +26,6 @@ extern char empty_zero_page[PAGE_SIZE];
 
 extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE);
 
-/* Macro to mark a page protection as uncacheable */
-#define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE))
-
-extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE);
-
 /* to cope with aliasing VIPT cache */
 #define HAVE_ARCH_UNMAPPED_AREA