[Edson.Seabra at cyclades.com: Re: BDI and 85xx]
Marcelo Tosatti
marcelo.tosatti at cyclades.com
Tue Nov 15 02:53:13 EST 2005
On Mon, Nov 14, 2005 at 02:45:46PM -0600, Kumar Gala wrote:
> It doesn't look very good since nothing appears to be attached :)
Doh my bad. Attached it is.
-------------- next part --------------
--- /opt/montavista/pro/devkit/lsp/linux-2.6.14/Makefile 2005-10-27 17:02:08.000000000 -0700
+++ Makefile 2005-11-10 11:32:10.000000000 -0800
@@ -524,7 +524,7 @@
endif
ifdef CONFIG_DEBUG_INFO
-CFLAGS += -g
+CFLAGS += -g -ggdb
endif
include $(srctree)/arch/$(ARCH)/Makefile
--- /opt/montavista/pro/devkit/lsp/linux-2.6.14/include/asm-ppc/reg.h 2005-10-27 17:02:08.000000000 -0700
+++ include/asm-ppc/reg.h 2005-11-10 11:32:10.000000000 -0800
@@ -49,8 +49,12 @@
#endif
#ifndef MSR_KERNEL
+#ifdef CONFIG_BDI_SWITCH
+#define MSR_KERNEL (MSR_DE|MSR_ME|MSR_RI|MSR_IR|MSR_DR)
+#else
#define MSR_KERNEL (MSR_ME|MSR_RI|MSR_IR|MSR_DR)
#endif
+#endif
#define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
More information about the Linuxppc-embedded
mailing list