[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18467.60177.91772.136339@cargo.ozlabs.ibm.com>
Date: Fri, 9 May 2008 16:11:29 +1000
From: Paul Mackerras <paulus@...ba.org>
To: Michal Simek <Monstr@...nam.cz>
Cc: Arnd Bergmann <arnd@...db.de>,
John Williams <john.williams@...alogix.com>,
Matthew Wilcox <matthew@....cx>,
Will Newton <will.newton@...il.com>,
Linux Kernel list <linux-kernel@...r.kernel.org>,
linux-arch@...r.kernel.org, git@...inx.com,
Stephen Neuendorffer
<stephen.neuendorffer@...inx.com>,
John Linn <John.Linn@...inx.com>,
Ulrich Drepper <drepper@...hat.com>
Subject: Re: OF files
Michal Simek writes:
> I tested OF files changes. I sent you some patches about.
>
> I look at headers files too. Is it possible to move prom.h,
> of_device.h and of_platform.h to asm-generic or linux folder?
We can move stuff to drivers/of and include/linux, but we should only
move the parts that are truly architecture-independent. We should not
have anything like #ifdef CONFIG_PPC_PSERIES in the files in those
directories. If it needs an ifdef like that, then that part of the
file should stay under arch/powerpc.
In other words, it's OK to split files and end up with more files than
we have at present. That's better than adding ifdefs.
Paul.
--
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