[PATCH 1/8] OProfile update

From: John Levon (levon@movementarian.org)
Date: Sat May 03 2003 - 18:44:02 EST


The next 8 patches change the following files :

 arch/alpha/oprofile/Makefile | 3 +
 arch/alpha/oprofile/common.c | 2 -
 arch/i386/oprofile/Makefile | 5 +-
 arch/i386/oprofile/init.c | 11 ++----
 arch/i386/oprofile/nmi_int.c | 14 +++----
 arch/i386/oprofile/timer_int.c | 58
--------------------------------
 arch/parisc/oprofile/Makefile | 5 +-
 arch/parisc/oprofile/init.c | 3 -
 arch/parisc/oprofile/timer_int.c | 58
--------------------------------
 arch/ppc64/oprofile/Makefile | 5 +-
 arch/ppc64/oprofile/init.c | 3 -
 arch/ppc64/oprofile/timer_int.c | 59
---------------------------------
 arch/sparc64/oprofile/Makefile | 5 +-
 arch/sparc64/oprofile/init.c | 3 -
 arch/sparc64/oprofile/timer_int.c | 59
---------------------------------
 arch/x86_64/oprofile/Makefile | 9 ++---
 drivers/oprofile/buffer_sync.c | 67
+++++++++++++++++++++++++-------------
 drivers/oprofile/event_buffer.c | 6 ++-
 drivers/oprofile/oprof.c | 23 +++++++++----
 drivers/oprofile/oprofile_stats.c | 6 +--
 drivers/oprofile/oprofile_stats.h | 2 -
 drivers/oprofile/timer_int.c | 56
+++++++++++++++++++++++++++++++
 22 files changed, 159 insertions(+), 303 deletions(-)

Convention is that error returns are negative.

diff -Naur -X dontdiff linux-cvs/arch/alpha/oprofile/common.c linux-me/arch/alpha/oprofile/common.c
--- linux-cvs/arch/alpha/oprofile/common.c 2003-04-05 18:44:20.000000000 +0100
+++ linux-me/arch/alpha/oprofile/common.c 2003-04-29 01:18:48.000000000 +0100
@@ -175,7 +175,7 @@
         }
 
         if (!lmodel)
- return ENODEV;
+ return -ENODEV;
         model = lmodel;
 
         oprof_axp_ops.cpu_type = lmodel->cpu_type;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:19 EST