missing callbacks on setup (timer)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

	This fixes missing callbacks for setting up the timer with linux 
2.5.1 on the ip27 and ip32.

Vivien Chappelier.
diff -Naur linux/arch/mips64/kernel/time.c linux.patch/arch/mips64/kernel/time.c
--- linux/arch/mips64/kernel/time.c	Wed Dec 19 01:03:03 2001
+++ linux.patch/arch/mips64/kernel/time.c	Thu Dec 20 21:37:02 2001
@@ -457,7 +457,8 @@
 	 * to be NULL function so that we are sure the high-level code
 	 * is not invoked accidentally.
 	 */
-	board_timer_setup(&timer_irqaction);
+	if(board_timer_setup)
+	  board_timer_setup(&timer_irqaction);
 }
 
 #define FEBRUARY		2
diff -Naur linux/arch/mips64/sgi-ip27/ip27-setup.c linux.patch/arch/mips64/sgi-ip27/ip27-setup.c
--- linux/arch/mips64/sgi-ip27/ip27-setup.c	Thu Dec 20 18:30:20 2001
+++ linux.patch/arch/mips64/sgi-ip27/ip27-setup.c	Thu Dec 20 21:37:49 2001
@@ -311,4 +311,5 @@
 
 	mips_io_port_base = IO_BASE;
 	board_time_init = ip27_time_init;
+	board_timer_setup = NULL;
 }
diff -Naur linux/arch/mips64/sgi-ip32/ip32-setup.c linux.patch/arch/mips64/sgi-ip32/ip32-setup.c
--- linux/arch/mips64/sgi-ip32/ip32-setup.c	Thu Dec 20 18:30:20 2001
+++ linux.patch/arch/mips64/sgi-ip32/ip32-setup.c	Thu Dec 20 21:37:59 2001
@@ -91,6 +91,7 @@
 
 	rtc_ops = &ip32_rtc_ops;
 	board_time_init = ip32_time_init;
+	board_timer_setup = NULL;
 
 	crime_init ();
 }

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux