Make function declaration and definition consistent.
No functional change.
Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
return lo != 0;
}
-bool set_xcr0(u64 val)
+bool set_xcr0(u64 xfeatures)
{
uint64_t *this_xcr0 = &this_cpu(xcr0);
- if ( *this_xcr0 != val )
+ if ( *this_xcr0 != xfeatures )
{
- if ( !xsetbv(XCR_XFEATURE_ENABLED_MASK, val) )
+ if ( !xsetbv(XCR_XFEATURE_ENABLED_MASK, xfeatures) )
return false;
- *this_xcr0 = val;
+ *this_xcr0 = xfeatures;
}
return true;