Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 629333

Summary: fix build against kernel-devel-2.6.18-214.el5.x86_64: (cancel_work_sync() conflict)
Product: Red Hat Enterprise Linux 5 Reporter: Eduardo Habkost <ehabkost>
Component: kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: urgent    
Version: 5.6CC: fyang, mjenner, mkenneth, syeghiay, virt-maint, ykaul
Target Milestone: beta   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-83-194.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 629334 (view as bug list) Environment:
Last Closed: 2011-01-13 23:37:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 629334    

Description Eduardo Habkost 2010-09-01 17:13:34 UTC
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:51:02 UTC
Successfully make build against kernel-devel-2.6.18-227.el5.x86_64. So this bug has been fixed.

Comment 6 Ondrej Hudlicky 2010-11-05 11:09:06 UTC
According to comment 5 moving to VERIFIED

Comment 8 errata-xmlrpc 2011-01-13 23:37:23 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