[PATCH] Athlon Processor Family for 2.3.4[89]

From: Phil DeBecker (debecker@iglou.com)
Date: Thu Mar 02 2000 - 22:16:13 EST


main.c and several other files in 2.3.4[89] won't compile when
CONFIG_MK7=y due to a problem in sched.h. The patch below moves the
declarations of the profile buffer stuff to string.h which fixes the
problem.

--- linux/include/asm/string.h.BAK Mon Feb 28 04:10:28 2000
+++ linux/include/asm/string.h Tue Feb 29 18:27:05 2000
@@ -2,6 +2,11 @@
 #define _I386_STRING_H_

 #ifdef __KERNEL__
+
+extern unsigned int * prof_buffer;
+extern unsigned long prof_len;
+extern unsigned long prof_shift;
+
 /*
  * On a 486 or Pentium, we are better off not using the
  * byte string operations. But on a 386 or a PPro the

--- linux/include/linux/sched.h.BAK Mon Feb 28 04:10:38 2000
+++ linux/include/linux/sched.h Mon Feb 28 04:12:42 2000
@@ -488,10 +488,6 @@
 extern struct timeval xtime;
 extern void do_timer(struct pt_regs *);

-extern unsigned int * prof_buffer;
-extern unsigned long prof_len;
-extern unsigned long prof_shift;
-
 #define CURRENT_TIME (xtime.tv_sec)

 extern void FASTCALL(__wake_up(wait_queue_head_t *q, unsigned int mode));

-- 
Phil DeBecker

"Give me a lever long enough, and a place to stand, and I'll break the lever."

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



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:13 EST