2007-08-09 00:35:14

by Steven Rostedt

[permalink] [raw]
Subject: [PATCH 5/7] Change lguest launcher to use asm generic include

Have the lguest launcher include e820.h via asm/e820.h instead of explicitly
saying i386.

Signed-off-by: Steven Rostedt <[email protected]>
---
Documentation/lguest/lguest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c
index f791840..eb7a01c 100644
--- a/Documentation/lguest/lguest.c
+++ b/Documentation/lguest/lguest.c
@@ -46,7 +46,7 @@ typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
#include "../../include/linux/lguest_launcher.h"
-#include "../../include/asm-i386/e820.h"
+#include "../../include/asm/e820.h"
/*:*/

#define PAGE_PRESENT 0x7 /* Present, RW, Execute */
--
1.4.4.4

--


2007-08-09 01:06:18

by Glauber Costa

[permalink] [raw]
Subject: Re: [PATCH 5/7] Change lguest launcher to use asm generic include

> --- a/Documentation/lguest/lguest.c
> +++ b/Documentation/lguest/lguest.c
> @@ -46,7 +46,7 @@ typedef uint32_t u32;
> typedef uint16_t u16;
> typedef uint8_t u8;
> #include "../../include/linux/lguest_launcher.h"
> -#include "../../include/asm-i386/e820.h"
> +#include "../../include/asm/e820.h"

Couldn't we add the ../../../../../../../etc to the Makefile and avoid it here?

--
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."

2007-08-11 03:12:22

by Rusty Russell

[permalink] [raw]
Subject: Re: [PATCH 5/7] Change lguest launcher to use asm generic include

On Wed, 2007-08-08 at 20:32 -0400, Steven Rostedt wrote:
> plain text document attachment
> (0005-Change-lguest-launcher-to-use-asm-generic-include-instead-of-explicitly.txt)
> Have the lguest launcher include e820.h via asm/e820.h instead of explicitly
> saying i386.
>
> Signed-off-by: Steven Rostedt <[email protected]>

Applied, thanks,

Rusty.