patch-2.4.20 linux-2.4.20/arch/parisc/kernel/pa7300lc.c

Next file: linux-2.4.20/arch/parisc/kernel/pacache.S
Previous file: linux-2.4.20/arch/parisc/kernel/led.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/parisc/kernel/pa7300lc.c linux-2.4.20/arch/parisc/kernel/pa7300lc.c
@@ -4,11 +4,12 @@
  *
  *   Copyright (C) 2000 Philipp Rumpf */
 
+#include <linux/sched.h>
+#include <linux/smp.h>
+#include <linux/kernel.h>
 #include <asm/gsc.h>
 #include <asm/ptrace.h>
 #include <asm/machdep.h>
-#include <linux/smp.h>
-#include <linux/kernel.h>
 
 /* CPU register indices */
 
@@ -19,12 +20,6 @@
 #define DIOERR		0xf0ec
 #define HIDMAMEM	0xf0f4
 
-/* read CPU Diagnose register index */
-static u32 diag_read(int index)
-{
-	return 0;
-}
-
 /* this returns the HPA of the CPU it was called on */
 static u32 cpu_hpa(void)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)