}
void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event)
-diff -Nurb linux-2.6.22-580/drivers/oprofile/oprof.c linux-2.6.22-590/drivers/oprofile/oprof.c
---- linux-2.6.22-580/drivers/oprofile/oprof.c 2007-07-08 19:32:17.000000000 -0400
-+++ linux-2.6.22-590/drivers/oprofile/oprof.c 2008-02-27 13:48:29.000000000 -0500
-@@ -33,6 +33,8 @@
- */
- static int timer = 0;
-
-+extern void *rec_event;
-+
- int oprofile_setup(void)
- {
- int err;
-@@ -53,7 +55,7 @@
- * us missing task deaths and eventually oopsing
- * when trying to process the event buffer.
- */
-- if ((err = sync_start()))
-+ if (err = sync_start())
- goto out3;
-
- is_setup = 1;
diff -Nurb linux-2.6.22-580/fs/exec.c linux-2.6.22-590/fs/exec.c
--- linux-2.6.22-580/fs/exec.c 2008-02-27 13:46:38.000000000 -0500
+++ linux-2.6.22-590/fs/exec.c 2008-02-27 13:49:58.000000000 -0500