Re: [patch 134/149] x86, paravirt: Add a global synchronization point for pvclock

Avi Kivity
2010-07-13T16:46:27Z

On 07/13/2010 07:40 PM, Avi Kivity wrote:
> On 07/13/2010 07:34 PM, Avi Kivity wrote:
>>
>> My bet is that dropping 'static' will fix it. We may have the wrong
>> constraints on atomic64_cmpxchg64(), so the compiler thinks we never
>> change last_value.
>>
>
> The constraints are there, but maybe the toolchain is confused.
>

No they aren't, as Linus just pointed out. His patch should fix the
problem.

--
error compiling committee.c: too many arguments to function