From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935612AbYEIGLx (ORCPT ); Fri, 9 May 2008 02:11:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764888AbYEIGLm (ORCPT ); Fri, 9 May 2008 02:11:42 -0400 Received: from ozlabs.org ([203.10.76.45]:58043 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759448AbYEIGLl (ORCPT ); Fri, 9 May 2008 02:11:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18467.60177.91772.136339@cargo.ozlabs.ibm.com> Date: Fri, 9 May 2008 16:11:29 +1000 From: Paul Mackerras To: =?us-ascii?Q?Michal=20Simek?= Cc: =?us-ascii?Q?Arnd=20Bergmann?= , =?us-ascii?Q?John=20Williams?= , =?us-ascii?Q?Matthew=20Wilcox?= , =?us-ascii?Q?Will=20Newton?= , =?us-ascii?Q?Linux=20Kernel=20list?= , linux-arch@vger.kernel.org, git@xilinx.com, =?us-ascii?Q?Stephen=20Neuendorffer?= , =?us-ascii?Q?John=20Linn?= , =?us-ascii?Q?Ulrich=20Drepper?= Subject: Re: =?us-ascii?Q?OF=20files?= In-Reply-To: <5257.8247-18740-1017760922-1209828638@seznam.cz> References: <5257.8247-18740-1017760922-1209828638@seznam.cz> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.