x86: Demacro CONFIG_PARAVIRT cpu accessors
authorAvi Kivity <avi@redhat.com>
Sun, 24 Apr 2011 08:11:51 +0000 (11:11 +0300)
committerIngo Molnar <mingo@elte.hu>
Sun, 24 Apr 2011 11:20:36 +0000 (13:20 +0200)
commit15d6aba24d88231415f4e7e091c0f1e60c3e6fd5
treed676b9dabda1764d1f4d769b6401b0870af4c69d
parent0f1d9f78ce41a8874d30271ef8480e6f8f7f1fce
x86: Demacro CONFIG_PARAVIRT cpu accessors

Recently, we had a build failure on !CONFIG_PARAVIRT due to a
callback ->wbinvd() clashing with a macro wbinvd().

While we worked around the issue, avoid it in the future by
changing the macro (and a few surrounding ones) to an inline
function.

Signed-off-by: Avi Kivity <avi@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: http://lkml.kernel.org/r/1303632711-21662-1-git-send-email-avi@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/system.h