[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070809115156.ef5fdc6c.sfr@canb.auug.org.au>
Date: Thu, 9 Aug 2007 11:51:56 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Rusty Russell <rusty@...tcorp.com.au>, lguest <lguest@...abs.org>,
lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
virtualization <virtualization@...ts.linux-foundation.org>,
Glauber de Oliveira Costa <glommer@...il.com>,
Jes Sorensen <jes@....com>, Carsten Otte <cotte@...ibm.com>
Subject: Re: [PATCH 4/7] Moved the io struct up to the generic lg.h
On Wed, 08 Aug 2007 20:32:15 -0400 Steven Rostedt <rostedt@...dmis.org>
wrote:
>
> diff --git a/drivers/lguest/i386/lg.h b/drivers/lguest/i386/lg.h
> index 64f0abe..c5ea14c 100644
> --- a/drivers/lguest/i386/lg.h
> +++ b/drivers/lguest/i386/lg.h
> @@ -20,6 +20,8 @@
> #include <linux/err.h>
> #include <asm/semaphore.h>
> #include "irq_vectors.h"
> +/* some files include this, some include the parent */
> +#include "../lg.h"
Surely everything should just include the parent which allows for easier
consolidation over time. (as you are doing here)
> --- a/drivers/lguest/lg.h
> +++ b/drivers/lguest/lg.h
> @@ -1,3 +1,19 @@
> +#ifndef _LGUEST_LG_GENERIC
> +#define _LGUEST_LG_GENERIC
Maybe _LGUEST_LG_H? and the arch ones could use _LGUEST_I386_LG_H etc.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists