Commit 4c1a0698 authored by Andi Kleen's avatar Andi Kleen Committed by Greg Kroah-Hartman

x86_64: Fix wrong gcc check in bitops.h

gcc 5.0 will likely not have the constraint problem
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent aac84df5
......@@ -7,7 +7,7 @@
#include <asm/alternative.h>
#if __GNUC__ < 4 || __GNUC_MINOR__ < 1
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
/* Technically wrong, but this avoids compilation errors on some gcc
versions. */
#define ADDR "=m" (*(volatile long *) addr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment