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

From: Steven Rostedt
Date: Thu Aug 09 2007 - 08:23:08 EST




--
On Thu, 9 Aug 2007, Stephen Rothwell wrote:

> 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(-)
>

/me should read the man pages.

Thanks, that's the options I was looking for. I was using the
git-format-patch, and thought it would do that automatically. I
definitely add those options the next time around!

Thanks,

-- Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/