On Thu, 2006-07-13 at 13:12 +0530, [EMAIL PROTECTED] wrote: > We've written a device driver in linux for a pcmcia card with usb and > serial functionality. I need to test this driver on a dual core/SMP > machine. We work on kernel 2.6.15.4. I have recompiled this kernel > version on my dual core machine with the CONFIG_SMP flag set during > menuconfig. > > How do i ensure that my driver is making use of the SMP feature? Do > build my driver code i have a makefile in which i use the EXTRA_CFLAGS= > -D__SMP__ -DCONFIG_SMP -DLINUX.
NO! You should just use a normal KBuild makefile, and not ever add any extra cflags.... (but you failed to provide a URL to even your Makefile but also to your code so it's hard to give you a detailed recommendation) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel