WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] attach __exit to the (unused) cpufreq governor exit

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] attach __exit to the (unused) cpufreq governor exit handlers
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 03 Feb 2009 15:52:12 +0000
Delivery-date: Tue, 03 Feb 2009 07:51:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
... in order to make them disappear from the final image. Of course
they could as well be removed altogether, but I assumed that whoever
added them had a reason to do so.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- 2009-01-30.orig/xen/drivers/cpufreq/cpufreq_misc_governors.c        
2008-12-17 16:52:27.000000000 +0100
+++ 2009-01-30/xen/drivers/cpufreq/cpufreq_misc_governors.c     2009-01-30 
14:05:08.000000000 +0100
@@ -61,7 +61,7 @@ static int __init cpufreq_gov_userspace_
 }
 __initcall(cpufreq_gov_userspace_init);
 
-static void cpufreq_gov_userspace_exit(void)
+static void __exit cpufreq_gov_userspace_exit(void)
 {
     cpufreq_unregister_governor(&cpufreq_gov_userspace);
 }
@@ -106,7 +106,7 @@ static int __init cpufreq_gov_performanc
 }
 __initcall(cpufreq_gov_performance_init);
 
-static void cpufreq_gov_performance_exit(void)
+static void __exit cpufreq_gov_performance_exit(void)
 {
     cpufreq_unregister_governor(&cpufreq_gov_performance);
 }
@@ -151,7 +151,7 @@ static int __init cpufreq_gov_powersave_
 }
 __initcall(cpufreq_gov_powersave_init);
 
-static void cpufreq_gov_powersave_exit(void)
+static void __exit cpufreq_gov_powersave_exit(void)
 {
     cpufreq_unregister_governor(&cpufreq_gov_powersave);
 }
--- 2009-01-30.orig/xen/drivers/cpufreq/cpufreq_ondemand.c      2009-01-30 
13:54:16.000000000 +0100
+++ 2009-01-30/xen/drivers/cpufreq/cpufreq_ondemand.c   2009-01-30 
14:04:51.000000000 +0100
@@ -333,7 +333,7 @@ static int __init cpufreq_gov_dbs_init(v
 }
 __initcall(cpufreq_gov_dbs_init);
 
-static void cpufreq_gov_dbs_exit(void)
+static void __exit cpufreq_gov_dbs_exit(void)
 {
     cpufreq_unregister_governor(&cpufreq_gov_dbs);
 }




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] attach __exit to the (unused) cpufreq governor exit handlers, Jan Beulich <=