LKML Archive on
help / color / mirror / Atom feed
From: "Jan Beulich" <>
To: "Adrian Bunk" <>
Cc: <>, "Andi Kleen" <>,
Subject: Re: [PATCH 1/4] introduce __cpuinitconst
Date: Mon, 14 Jan 2008 08:12:28 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20080111210044.GA17276@does.not.exist>

>> --- 2.6.24-rc7-initconst.orig/include/linux/init.h
>> +++ 2.6.24-rc7-initconst/include/linux/init.h
>> @@ -269,11 +269,13 @@ void __init parse_early_param(void);
>>  #define __cpuinit
>>  #define __cpuinitdata
>> +#define __cpuinitconst const
>>  #define __cpuexit
>>  #define __cpuexitdata
>>  #else
>>  #define __cpuinit	__init
>>  #define __cpuinitdata __initdata
>> +#define __cpuinitconst __initdata
>>  #define __cpuexit __exit
>>  #define __cpuexitdata	__exitdata
>>  #endif
>__cpuinitconstdata ?
>I know it's a bit long, but it would be more logically when looking at 
>the other ones.

I considered it, but didn't use it because as you say it's a bit long and
additionally nothing but data can be 'const'.


      reply	other threads:[~2008-01-14  8:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-11  8:56 [PATCH 1/4] introduce __cpuinitconst Jan Beulich
2008-01-11 21:00 ` Adrian Bunk
2008-01-14  8:12   ` Jan Beulich [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).