디버깅/리눅스2009. 10. 16. 01:30
반응형
make[3]: *** [arch/i386/kernel/cpu/mtrr/main.o] Error 1 에러날때 다음과 같이 하면 됨


arch/i386/kernel/cpu/mtrr/main.c | 2 ++
1 files changed, 2 insertions(+)

diff -puN
arch/i386/kernel/cpu/mtrr/main.c~alpha-fix-statement-with-no-effect-warnings-fix
arch/i386/kernel/cpu/mtrr/main.c
---
devel/arch/i386/kernel/cpu/mtrr/main.c~alpha-fix-statement-with-no-effect-warnings-fix
2005-07-28 10:03:10.000000000 -0700
+++ devel-akpm/arch/i386/kernel/cpu/mtrr/main.c 2005-07-28 10:03:10.000000000
-0700
@@ -221,9 +221,11 @@ static void set_mtrr(unsigned int reg, u
atomic_set(&data.count, num_booting_cpus() - 1);
atomic_set(&data.gate,0);

+#ifdef CONFIG_SMP
/* Start the ball rolling on other CPUs */
if (smp_call_function(ipi_handler, &data, 1, 0) != 0)
panic("mtrr: timed out waiting for other CPUs\n");
+#endif /* CONFIG_SMP */

local_irq_save(flags);

반응형
Posted by pmj0403