From: Sam Ravnborg <sam@xxxxxxxxxxxx> Date: Wed, 8 Apr 2009 23:45:51 +0200 > The easiet is to comment out the line: > > arch_initcall(pcr_arch_init); > > In the file: arch/sparc/kernel/pcr.c It won't build since this makes pcr_arch_init() unused and sparc builds with -Werror. This patch below might work better. But even if the NMI isn't working, the NMI test should just timeout and fail if you wait for 10 or 20 seconds. diff --git a/arch/sparc/kernel/pcr.c b/arch/sparc/kernel/pcr.c index 1ae8cdd..62b2b9c 100644 --- a/arch/sparc/kernel/pcr.c +++ b/arch/sparc/kernel/pcr.c @@ -123,6 +123,9 @@ int __init pcr_arch_init(void) if (err) return err; +#if 1 + return -ENODEV; +#endif switch (tlb_type) { case hypervisor: -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html