Skip to content
Commit 2fd81864 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by H. Peter Anvin
Browse files

x86, cpufeature: Suppress compiler warning with gcc 3.x



Gcc 3.x generates a warning

  arch/x86/include/asm/cpufeature.h: In function `__static_cpu_has':
  arch/x86/include/asm/cpufeature.h:326: warning: asm operand 1 probably doesn't match constraints

on each file.
But static_cpu_has() for gcc 3.x does not need __static_cpu_has().

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
LKML-Reference: <201008300127.o7U1RC6Z044051@www262.sakura.ne.jp>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 36ac4b98
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