From: Chris Wright Subject: Re: Re: [RFC] move Xen linux header files Date: Mon, 8 Aug 2005 12:26:56 -0700 Message-ID: <20050808192656.GE7901@shell0.pdx.osdl.net> References: <20050805193615.GT7762@shell0.pdx.osdl.net> <20050806000924.GD7901@shell0.pdx.osdl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org * Dan Magenheimer (dan.magenheimer@hp.com) wrote: > > mv linux-2.6-xen-sparse/include/asm-xen/*.h linux-2.6-xen-sparse/include/xen/ > > I'm still confused... There are currently two subdirectories > of sparse/include/asm-xen/ that contain the arch-dep headers. > But the above mv command has moved them to include/xen/asm-$ARCH > not include include/asm-$ARCH/mach-xen/ No, I think you misread. Only the *.h are moved. Those are not machine specific, rather core xen headers. The actual machine specific bits are left behind in this patch, because that's the actual meat of doing the subarch split. Basically, moving all this stuff about while both sides (xen and linux) are moving is a pain, so I'm looking for simple bits that could go into xen w/out requiring the full subarch patch. I've currently dropped this, and now the subarch is using the core headers in the old (current) location, and only moving the asm-xen/asm-$ARCH/ bits. It means I have to maintain some copies of headers, but it too can be automated, so maybe that's the better approach. > Also, just one more attempt, then I'll shut up (on > this point anyway)... xen is not a mach as it is > orthogonal to mach (e.g. could be combined with other > mach's). E.g. arch-dep includes for ia64 should be > in include/asm-ia64/xen because they may, for example, > run on SGI's sn subarch. Yes, but Xen also needs to override some of the defaults. There may be same issue with conflicting with subarch changes as there is with xen vs base arch. I don't know the best solution yet. thanks, -chris