Re: [PATCH 5/5 -v2] Move the lguest files that are i386 specific

From: Stephen Rothwell
Date: Thu Aug 09 2007 - 01:44:23 EST


Hi Steven,

On Thu, 09 Aug 2007 00:36:31 -0400 Steven Rostedt <rostedt@xxxxxxxxxxx>
wrote:
>
> Well, some may be merged with x86_64 later, but for now we move them
> out of the way. Later on we can start seeing how we can combine
> some of these files to be arch generic.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
> ---
> drivers/lguest/Makefile | 7 +-
> drivers/lguest/core.c | 771 -------------------
> drivers/lguest/hypercalls.c | 300 --------
> drivers/lguest/i386/Makefile | 7 +
> drivers/lguest/i386/core.c | 771 +++++++++++++++++++
> drivers/lguest/i386/hypercalls.c | 300 ++++++++
> drivers/lguest/i386/interrupts_and_traps.c | 440 +++++++++++
> drivers/lguest/i386/lguest.c | 1097 ++++++++++++++++++++++++++++
> drivers/lguest/i386/lguest_asm.S | 93 +++
> drivers/lguest/i386/lguest_user.c | 382 ++++++++++
> drivers/lguest/i386/page_tables.c | 680 +++++++++++++++++
> drivers/lguest/i386/segments.c | 229 ++++++
> drivers/lguest/i386/switcher.S | 347 +++++++++
> drivers/lguest/interrupts_and_traps.c | 440 -----------
> drivers/lguest/lguest.c | 1097 ----------------------------
> drivers/lguest/lguest_asm.S | 93 ---
> drivers/lguest/lguest_user.c | 382 ----------
> drivers/lguest/page_tables.c | 680 -----------------
> drivers/lguest/segments.c | 229 ------
> drivers/lguest/switcher.S | 347 ---------
> 20 files changed, 4348 insertions(+), 4344 deletions(-)

if you add -C or -M to "git diff --stat" this looks much better:

$ git diff --stat -C HEAD^
drivers/lguest/Makefile | 7 ++-----
drivers/lguest/i386/Makefile | 7 +++++++
drivers/lguest/{ => i386}/core.c | 0
drivers/lguest/{ => i386}/hypercalls.c | 0
drivers/lguest/{ => i386}/interrupts_and_traps.c | 0
drivers/lguest/{ => i386}/lguest.c | 0
drivers/lguest/{ => i386}/lguest_asm.S | 0
drivers/lguest/{ => i386}/lguest_user.c | 0
drivers/lguest/{ => i386}/page_tables.c | 0
drivers/lguest/{ => i386}/segments.c | 0
drivers/lguest/{ => i386}/switcher.S | 0
11 files changed, 9 insertions(+), 5 deletions(-)

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature