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

Stephen Rothwell
2007-08-09T05:42:37Z

[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]

Hi Steven,

On Thu, 09 Aug 2007 00:36:31 -0400 Steven Rostedt <rostedt@goodmis.org>
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@goodmis.org>
> ---
> 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@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]