|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] Re: [6684] Fix "info registers" under kvm. |
Date: | Mon, 09 Mar 2009 11:42:15 +0200 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Blue Swirl wrote:
static inline void kvm_foo(...) { if (!kvm_enabled()) { return; } #ifdef CONFIG_KVM kvm_do_foo(); #endif }kvm_foo may then be unused and produce warnings unless also hidden with #ifdef CONFIG_KVM.
static inlines don't produce unused warnings. -- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |