[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTilNQwo1YYT2pNJN5X0ae98iMKCdsBkcogjKZm-f@mail.gmail.com>
Date: Tue, 18 May 2010 16:46:12 +0530
From: Jaswinder Singh Rajput <jaswinderlinux@...il.com>
To: Magnus Damm <magnus.damm@...il.com>
Cc: Paul Mundt <lethal@...ux-sh.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org,
Russell King - ARM Linux <linux@....linux.org.uk>
Subject: Re: [GIT PULL] sh updates for 2.6.35-rc1
Hello magnus,
On Tue, May 18, 2010 at 4:35 PM, Magnus Damm <magnus.damm@...il.com> wrote:
> Hi Jaswinder,
>
> On Tue, May 18, 2010 at 7:51 PM, Jaswinder Singh Rajput
> <jaswinderlinux@...il.com> wrote:
>> Hmm, so still it is between ARM and SH, so better option will be :
>>
>> include/linux/sh_clk.h -> include/sh/clk.h
>> include/linux/sh_dma.h -> include/sh/dma.h
>> include/linux/sh_intc.h -> include/sh/intc.h
>>
>> So when arm files will come then, then we can make it like this :
>>
>> include/arm/clk.h
>> include/arm/dma.h
>> include/arm/intc.h
>>
>> So user will program like this :
>>
>> #include <arm/dma.h>
>> #include <sh/dma.h>
>
> Right now the SH code does
>
> #include <linux/sh_intc.h>
>
> and the ARM code does
>
> #include <linux/sh_intc.h>
>
> Hope this clarifies!
>
I am looking at the future, where multiple architecture will use each
other files.
I am just worried about the file count. Currently :
$ ls include/linux/ | wc -l
1029
If other architecture will also start adding the files in
include/linux like you did then ?
So better make another directory in include.
Thanks,
--
Jaswinder Singh.
--
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