Messages in this thread | | | Date | Tue, 18 May 2010 16:46:12 +0530 | Subject | Re: [GIT PULL] sh updates for 2.6.35-rc1 | From | Jaswinder Singh Rajput <> |
| |
Hello magnus,
On Tue, May 18, 2010 at 4:35 PM, Magnus Damm <magnus.damm@gmail.com> wrote: > Hi Jaswinder, > > On Tue, May 18, 2010 at 7:51 PM, Jaswinder Singh Rajput > <jaswinderlinux@gmail.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.
| |