[patch 42/43] rename TIMER_SOFTIRQ to TIMEOUT_SOFTIRQ

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

 



plain text document attachment (ktimeout-rename-TIMER_SOFTIRQ.patch)
- rename TIMER_SOFTIRQ to TIMEOUT_SOFTIRQ

Signed-off-by: Ingo Molnar <[email protected]>

 include/linux/interrupt.h |    2 +-
 kernel/ktimeout.c         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: linux/include/linux/interrupt.h
===================================================================
--- linux.orig/include/linux/interrupt.h
+++ linux/include/linux/interrupt.h
@@ -109,7 +109,7 @@ extern void local_bh_enable(void);
 enum
 {
 	HI_SOFTIRQ=0,
-	TIMER_SOFTIRQ,
+	TIMEOUT_SOFTIRQ,
 	NET_TX_SOFTIRQ,
 	NET_RX_SOFTIRQ,
 	SCSI_SOFTIRQ,
Index: linux/kernel/ktimeout.c
===================================================================
--- linux.orig/kernel/ktimeout.c
+++ linux/kernel/ktimeout.c
@@ -550,7 +550,7 @@ static void run_ktimeout_softirq(struct 
  */
 void run_local_ktimeouts(void)
 {
-	raise_softirq(TIMER_SOFTIRQ);
+	raise_softirq(TIMEOUT_SOFTIRQ);
 }
 
 static void process_timeout(unsigned long __data)
@@ -773,5 +773,5 @@ void __init init_ktimeouts(void)
 	ktimeout_cpu_notify(&ktimeouts_nb, (unsigned long)CPU_UP_PREPARE,
 				(void *)(long)smp_processor_id());
 	register_cpu_notifier(&ktimeouts_nb);
-	open_softirq(TIMER_SOFTIRQ, run_ktimeout_softirq, NULL);
+	open_softirq(TIMEOUT_SOFTIRQ, run_ktimeout_softirq, NULL);
 }

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux