From: Arjan van de Ven <arjan@infradead.org>
To: bhuvan.kumarmital@wipro.com
Cc: linux-usb-devel@lists.sourceforge.net,
kernelnewbies-request@nl.linux.org, kernel-mentors@selenic.com,
os_drivers@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Expertise required on building code for SMP
Date: Thu, 13 Jul 2006 09:45:37 +0200 [thread overview]
Message-ID: <1152776737.3024.16.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <24ED22E506B5A042BF5B05B6B017D86C0A9046@PNE-HJN-MBX01.wipro.com>
On Thu, 2006-07-13 at 13:12 +0530, bhuvan.kumarmital@wipro.com 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)
next prev parent reply other threads:[~2006-07-13 7:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 7:42 bhuvan.kumarmital
2006-07-13 7:45 ` Arjan van de Ven [this message]
2006-07-13 10:56 ` Hannibal B
2006-07-13 8:09 ` Andreas Mohr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1152776737.3024.16.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=bhuvan.kumarmital@wipro.com \
--cc=kernel-mentors@selenic.com \
--cc=kernelnewbies-request@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=os_drivers@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®