From: Andi Kleen <ak@suse.de>
To: Rafael Santos <rafael@thinkfreak.com.br>
Cc: Andi Kleen <ak@suse.de>, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: software reset
Date: Thu, 1 May 2003 01:14:54 +0200 [thread overview]
Message-ID: <20030430231454.GA16195@Wotan.suse.de> (raw)
In-Reply-To: <1UVQRFALHIE82ZYICTO43SQVTC751.3eb05572@rafaelnote.ns1.lhost.com.br>
On Wed, Apr 30, 2003 at 08:00:02PM -0300, Rafael Santos wrote:
> #define MODULE 1
> #define __KERNEL__ 1
>
> What are those for? What do they do?
Required for the kernel include files. __KERNEL__ says it's a kernel
compilation and MODULE says it's a module.
Normally they are declared in the kernel makefiles, but for custom
modules with a makefile I tend to write them as defines for convenience.
In 2.5 you'll also need KBUILD_MODNAME
-Andi
next prev parent reply other threads:[~2003-04-30 23:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200304291037.13598.jbriggs@briggsmedia.com.suse.lists.linux.kernel>
2003-04-29 15:19 ` Andi Kleen
2003-04-30 7:50 ` Jamie Lokier
2003-04-30 11:04 ` Eric W. Biederman
2003-04-30 16:15 ` Gabriel Paubert
2003-04-30 17:02 ` Eric W. Biederman
2003-04-30 17:19 ` Gabriel Paubert
2003-04-30 19:31 ` Jamie Lokier
2003-04-30 23:00 ` Rafael Santos
2003-04-30 23:14 ` Andi Kleen [this message]
2003-04-30 23:20 ` H. Peter Anvin
2003-05-07 6:55 Perez-Gonzalez, Inaky
-- strict thread matches above, loose matches on Subject: below --
2003-04-29 14:37 joe briggs
2003-04-30 23:12 ` James Stevenson
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=20030430231454.GA16195@Wotan.suse.de \
--to=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@thinkfreak.com.br \
/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®