]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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: 285d21767e860eb3 ("ARC: mm: disintegrate pgtable.h into levels and flags")
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/pgtable.h

index 9320b04c04bf55ba13ba85c3b14a48e0244531af..4cf45a99fd792a5e1b528c96a610cfdd9120f14e 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