All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip] x86_64: uml: fix rename header guard
@ 2008-08-15  0:25 Hiroshi Shimamoto
  2008-08-15  6:33 ` Vegard Nossum
  2008-08-15 10:25 ` Ingo Molnar
  0 siblings, 2 replies; 4+ messages in thread
From: Hiroshi Shimamoto @ 2008-08-15  0:25 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin
  Cc: Vegard Nossum, Jeff Dike, linux-kernel

From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>

In unistd_64.h, the guard macro _ASM_X86_64_UNISTD_H_ is renamed to
ASM_X86__UNISTD_64_H.

This change should be applied to arch/um/sys-x86_64/syscall_table.c.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
 arch/um/sys-x86_64/syscall_table.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c
index c128eb8..32f5fbe 100644
--- a/arch/um/sys-x86_64/syscall_table.c
+++ b/arch/um/sys-x86_64/syscall_table.c
@@ -41,12 +41,12 @@
 #define stub_rt_sigreturn sys_rt_sigreturn
 
 #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ;
-#undef _ASM_X86_64_UNISTD_H_
+#undef ASM_X86__UNISTD_64_H
 #include <asm-x86/unistd_64.h>
 
 #undef __SYSCALL
 #define __SYSCALL(nr, sym) [ nr ] = sym,
-#undef _ASM_X86_64_UNISTD_H_
+#undef ASM_X86__UNISTD_64_H
 
 typedef void (*sys_call_ptr_t)(void);
 
-- 
1.5.6


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -tip] x86_64: uml: fix rename header guard
  2008-08-15  0:25 [PATCH -tip] x86_64: uml: fix rename header guard Hiroshi Shimamoto
@ 2008-08-15  6:33 ` Vegard Nossum
  2008-08-15 11:37   ` Ingo Molnar
  2008-08-15 10:25 ` Ingo Molnar
  1 sibling, 1 reply; 4+ messages in thread
From: Vegard Nossum @ 2008-08-15  6:33 UTC (permalink / raw)
  To: Hiroshi Shimamoto
  Cc: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Jeff Dike,
	linux-kernel

On Fri, Aug 15, 2008 at 2:25 AM, Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com> wrote:
> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>
> In unistd_64.h, the guard macro _ASM_X86_64_UNISTD_H_ is renamed to
> ASM_X86__UNISTD_64_H.
>
> This change should be applied to arch/um/sys-x86_64/syscall_table.c.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>

I guess I screwed up again. Forgot to look for #undefs :-(

Thanks, and acked.


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -tip] x86_64: uml: fix rename header guard
  2008-08-15  0:25 [PATCH -tip] x86_64: uml: fix rename header guard Hiroshi Shimamoto
  2008-08-15  6:33 ` Vegard Nossum
@ 2008-08-15 10:25 ` Ingo Molnar
  1 sibling, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2008-08-15 10:25 UTC (permalink / raw)
  To: Hiroshi Shimamoto
  Cc: Thomas Gleixner, H. Peter Anvin, Vegard Nossum, Jeff Dike,
	linux-kernel


* Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
> 
> In unistd_64.h, the guard macro _ASM_X86_64_UNISTD_H_ is renamed to
> ASM_X86__UNISTD_64_H.
> 
> This change should be applied to arch/um/sys-x86_64/syscall_table.c.

applied to tip/x86/core - thanks!

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -tip] x86_64: uml: fix rename header guard
  2008-08-15  6:33 ` Vegard Nossum
@ 2008-08-15 11:37   ` Ingo Molnar
  0 siblings, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2008-08-15 11:37 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: Hiroshi Shimamoto, Thomas Gleixner, H. Peter Anvin, Jeff Dike,
	linux-kernel


* Vegard Nossum <vegard.nossum@gmail.com> wrote:

> On Fri, Aug 15, 2008 at 2:25 AM, Hiroshi Shimamoto
> <h-shimamoto@ct.jp.nec.com> wrote:
> > From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
> >
> > In unistd_64.h, the guard macro _ASM_X86_64_UNISTD_H_ is renamed to
> > ASM_X86__UNISTD_64_H.
> >
> > This change should be applied to arch/um/sys-x86_64/syscall_table.c.
> >
> > Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
> 
> I guess I screwed up again. Forgot to look for #undefs :-(

that's OK from a change of this width. And the #undefs are definitely 
#unnice as well.

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-15 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15  0:25 [PATCH -tip] x86_64: uml: fix rename header guard Hiroshi Shimamoto
2008-08-15  6:33 ` Vegard Nossum
2008-08-15 11:37   ` Ingo Molnar
2008-08-15 10:25 ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.