[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49C2283B.7010907@monstr.eu>
Date: Thu, 19 Mar 2009 12:10:51 +0100
From: Michal Simek <monstr@...str.eu>
To: Jaswinder Singh Rajput <jaswinder@...nel.org>
CC: Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
john.williams@...alogix.com,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: Microblaze linux support
Jaswinder Singh Rajput wrote:
> On Thu, 2009-03-19 at 11:26 +0100, Michal Simek wrote:
>
>> you are welcome - I can quickly test and add all changes to git.
>>
>> Is it good style separate extern definition and EXPORT_SYMBOL?
>>
>> I have three choices?
>> 1. keep extern + EXPORT_SYMBOL below - current style
>> 2. move only extern to header file
>> 3. move extern and EXPORT_SYMBOL to header.
>>
>> What is preferable way?
>
> externs should be in header files
>
> EXPORT_SYMBOL should immediately follow its function/variable should
> normally be in source files like : arch/x86/kernel/process.c
Yes, I know -> is should be in all microblaze code (for example
arch/microblaze/lib folder)
> and if required can also be defined in header files like:
> arch/x86/include/asm/percpu.h
As wrote Ingo this is a little bit different case.
Thanks for you comments,
Michal
>
> --
> JSR
>
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists