Skip to contentSkip to conversation

Remove redundant alloc_vmcs_cpu declaration

PATCH In review Rusty Russell 2 participants 2 messages Jul 31, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove redundant alloc_vmcs_cpu declaration

alloc_vmcs_cpu is already declared (static) above, no need to redeclare.

drivers/kvm/vmx.c +0 -2
diff -r 12049042a59e drivers/kvm/vmx.c
@@ -816,8 +816,6 @@ static void free_kvm_area(void)
 	for_each_online_cpu(cpu)
 		free_vmcs(per_cpu(vmxarea, cpu));
 }
-
-extern struct vmcs *alloc_vmcs_cpu(int cpu);
 
 static __init int alloc_kvm_area(void)
 {

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Rusty Russell

alloc_vmcs_cpu is already declared (static) above, no need to redeclare.

Applied this, as well as the msr_interception() and mark_page_dirty() patches. Thanks.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/