From 3107948848ebc52b98ffd853f72065338bbc57e2 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Fri, 25 May 2012 21:20:14 +0000 Subject: sparc32,leon: always include leon_smp + leon_mm in build Fix-up leon specific assembler to use ASI_LEON_MMUREGS Signed-off-by: Sam Ravnborg Cc: Daniel Hellstrom Cc: Konrad Eisele --- arch/sparc/include/asm/leon.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'arch/sparc/include/asm/leon.h') diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h index 95fa93187dde..995c4e05be6d 100644 --- a/arch/sparc/include/asm/leon.h +++ b/arch/sparc/include/asm/leon.h @@ -254,16 +254,4 @@ extern int leon_ipi_irq; #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base))) #define _SRMMU_PTE_PMASK_LEON 0xffffffff -#ifndef CONFIG_SPARC_LEON - -/* nop definitions for !LEON case */ -#define leon_switch_mm() do {} while (0) -#define init_leon() do {} while (0) -#define leon_smp_done() do {} while (0) -#define leon_boot_cpus() do {} while (0) -#define leon_boot_one_cpu(i, t) 1 -#define leon_init_smp() do {} while (0) - -#endif /* !defined(CONFIG_SPARC_LEON) */ - #endif -- cgit v1.2.3