Something that was bothering gcc and dhozac
authorSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 27 Feb 2008 19:41:40 +0000 (19:41 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 27 Feb 2008 19:41:40 +0000 (19:41 +0000)
linux-2.6-590-chopstix-intern.patch

index 5798a1b..a75849a 100644 (file)
@@ -99,27 +99,6 @@ diff -Nurb linux-2.6.22-580/drivers/oprofile/cpu_buffer.c linux-2.6.22-590/drive
  }
  
  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