All of lore.kernel.org
 help / color / mirror / Atom feed
From: Firo Yang <firogm@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH] um: Fix a build error
Date: Mon, 15 Jun 2015 14:43:56 +0000	[thread overview]
Message-ID: <1434379436-8301-1-git-send-email-firogm@gmail.com> (raw)

Gcc5 failed to build uml.
Update codes to test __GNUC__ with 5 will be happier.

Signed-off-by: Firo Yang <firogm@gmail.com>
---
 arch/um/include/shared/init.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/um/include/shared/init.h b/arch/um/include/shared/init.h
index b3906f8..3af7098 100644
--- a/arch/um/include/shared/init.h
+++ b/arch/um/include/shared/init.h
@@ -54,7 +54,7 @@ typedef void (*exitcall_t)(void);
 #endif
 
 #else
-#if __GNUC__ = 4
+#if __GNUC__ = 4 || __GNUC__ = 5
 # define __used			__attribute__((__used__))
 #endif
 #endif
-- 
2.4.3


             reply	other threads:[~2015-06-15 14:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 14:43 Firo Yang [this message]
2015-06-15 14:49 ` [PATCH] um: Fix a build error Richard Weinberger
2015-06-15 14:49   ` [uml-devel] " Richard Weinberger
  -- strict thread matches above, loose matches on Subject: below --
2008-07-22 10:58 [Patch] um: fix " Eric Sesterhenn
2008-07-22 10:53 ` Alan Cox
2008-07-22 11:25   ` WANG Cong
2008-07-22 17:35   ` WANG Cong
2008-07-22 17:42     ` Alan Cox
2008-07-21 16:54 WANG Cong
2008-07-21 16:32 ` Alan Cox

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=1434379436-8301-1-git-send-email-firogm@gmail.com \
    --to=firogm@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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 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.