Bug 629334 - use native cancel_work_sync() function
Summary: use native cancel_work_sync() function
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.6
Hardware: All
OS: Linux
urgent
medium
Target Milestone: beta
: ---
Assignee: Eduardo Habkost
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 629333
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-01 17:16 UTC by Eduardo Habkost
Modified: 2011-01-13 23:37 UTC (History)
5 users (show)

Fixed In Version: kvm-83-195.el5
Doc Type: Bug Fix
Doc Text:
Clone Of: 629333
Environment:
Last Closed: 2011-01-13 23:37:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0028 0 normal SHIPPED_LIVE Low: kvm security and bug fix update 2011-01-13 11:03:39 UTC

Description Eduardo Habkost 2010-09-01 17:16:57 UTC
After solving the conflict below, kvm-userspace may start using the native version of the function, instead of a fake implementation that does nothing.


+++ This bug was initially created as a clone of Bug #629333 +++

Description of problem:

When trying to build latest kvm modules against kernel-devel-2.6.18-214.el5.x86_64:

/home/ehabkost/code/kvm/kvm-userspace/kernel/x86/../external-module-compat-comm.h:547: error: static declaration of ‘cancel_work_sync’ follows non-static declaration
include/linux/workqueue.h:117: error: previous declaration of ‘cancel_work_sync’ was here
make[3]: *** [/home/ehabkost/code/kvm/kvm-userspace/kernel/x86/svm.o] Error 1


The function was included on newer kernels, so we need to solve the naming conflict.

Comment 5 YangFeng 2010-11-03 06:53:14 UTC
Successfully make build against kernel-devel-2.6.18-227.el5.x86_64. So this bug
has been fixed.

Comment 8 errata-xmlrpc 2011-01-13 23:37:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0028.html


Note You need to log in before you can comment on or make changes to this bug.