linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / oprofile / oprof.c
index 76bac8d..b3f1cd6 100644 (file)
@@ -5,10 +5,6 @@
  * @remark Read the file COPYING
  *
  * @author John Levon <levon@movementarian.org>
- *
- * Modified by Aravind Menon for Xen
- * These modifications are:
- * Copyright (C) 2005 Hewlett-Packard Co.
  */
 
 #include <linux/kernel.h>
@@ -23,7 +19,7 @@
 #include "cpu_buffer.h"
 #include "buffer_sync.h"
 #include "oprofile_stats.h"
-
 struct oprofile_operations oprofile_ops;
 
 unsigned long oprofile_started;
@@ -37,34 +33,6 @@ static DECLARE_MUTEX(start_sem);
  */
 static int timer = 0;
 
-#ifdef CONFIG_XEN
-int oprofile_set_active(int active_domains[], unsigned int adomains)
-{
-       int err;
-
-       if (!oprofile_ops.set_active)
-               return -EINVAL;
-
-       down(&start_sem);
-       err = oprofile_ops.set_active(active_domains, adomains);
-       up(&start_sem);
-       return err;
-}
-
-int oprofile_set_passive(int passive_domains[], unsigned int pdomains)
-{
-       int err;
-
-       if (!oprofile_ops.set_passive)
-               return -EINVAL;
-
-       down(&start_sem);
-       err = oprofile_ops.set_passive(passive_domains, pdomains);
-       up(&start_sem);
-       return err;
-}
-#endif
-
 int oprofile_setup(void)
 {
        int err;