public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Jeremy Fitzhardinge <jeremy@xensource.com>,
	Chris Wright <chrisw@sous-sol.org>,
	Steven Rostedt <srostedt@redhat.com>
Subject: [PATCH 1/5] xen: clean up label
Date: Thu, 02 Oct 2008 11:05:30 -0400	[thread overview]
Message-ID: <20081002151104.251607876@goodmis.org> (raw)
In-Reply-To: 20081002150529.087488257@goodmis.org

[-- Attachment #1: xen-clean-up-patch-site.patch --]
[-- Type: text/plain, Size: 1111 bytes --]

In enlighten.c there's a macro that is defined to jump to a label.
This macro is only used in an ifdef CONFIG_X86_32 section, and the
label is outside that define conditional, which causes warnings.

This patch pushes the label inside the define condition.

CC: Jeremy Fitzhardinge <jeremy@xensource.com>
CC: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
 arch/x86/xen/enlighten.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-compile.git/arch/x86/xen/enlighten.c
===================================================================
--- linux-compile.git.orig/arch/x86/xen/enlighten.c	2008-09-12 09:18:55.000000000 -0400
+++ linux-compile.git/arch/x86/xen/enlighten.c	2008-10-02 09:38:16.000000000 -0400
@@ -1082,10 +1082,10 @@ static unsigned xen_patch(u8 type, u16 c
 		SITE(pv_irq_ops, irq_disable);
 		SITE(pv_irq_ops, save_fl);
 		SITE(pv_irq_ops, restore_fl);
-#endif /* CONFIG_X86_32 */
-#undef SITE
 
 	patch_site:
+#endif /* CONFIG_X86_32 */
+#undef SITE
 		if (start == NULL || (end-start) > len)
 			goto default_patch;
 

-- 

  reply	other threads:[~2008-10-02 15:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 15:05 [PATCH 0/5] Clean up patches Steven Rostedt
2008-10-02 15:05 ` Steven Rostedt [this message]
2008-10-02 15:05 ` [PATCH 2/5] xen: remove unused function warnings Steven Rostedt
2008-10-02 15:05 ` [PATCH 3/5] xen: nuke dead code in enlighten.c Steven Rostedt
2008-10-02 15:05 ` [PATCH 4/5] sound: update snd_assert macro Steven Rostedt
2008-10-03  9:10   ` Takashi Iwai
2008-10-03 14:24     ` Steven Rostedt
2008-10-02 15:05 ` [PATCH 5/5] xen: nuke the ballon files Steven Rostedt
2008-10-02 15:34   ` Jeremy Fitzhardinge
2008-10-02 17:59     ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081002151104.251607876@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=chrisw@sous-sol.org \
    --cc=jeremy@xensource.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srostedt@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox