aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-14 01:07:06 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-20 00:17:59 -0400
commit76954261ba907950cb5216e5c3075b5ba03c1a6b (patch)
tree07a1820be1216e2e3459f6eff45fb89e2ecaf866 /arch/sparc
parent1de937a536ea1a132d22dc198a9e07d208d40a29 (diff)
sparc32: Kill clear_profile_irq btfixup entry.
Unused. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/irq.h6
-rw-r--r--arch/sparc/kernel/pcic.c6
-rw-r--r--arch/sparc/kernel/sun4c_irq.c6
-rw-r--r--arch/sparc/kernel/sun4d_irq.c6
-rw-r--r--arch/sparc/kernel/sun4m_irq.c1
5 files changed, 0 insertions, 25 deletions
diff --git a/arch/sparc/kernel/irq.h b/arch/sparc/kernel/irq.h
index 32ef3ebd0a88..db7513881530 100644
--- a/arch/sparc/kernel/irq.h
+++ b/arch/sparc/kernel/irq.h
@@ -13,7 +13,6 @@ BTFIXUPDEF_CALL(void, enable_irq, unsigned int)
13BTFIXUPDEF_CALL(void, disable_pil_irq, unsigned int) 13BTFIXUPDEF_CALL(void, disable_pil_irq, unsigned int)
14BTFIXUPDEF_CALL(void, enable_pil_irq, unsigned int) 14BTFIXUPDEF_CALL(void, enable_pil_irq, unsigned int)
15BTFIXUPDEF_CALL(void, clear_clock_irq, void) 15BTFIXUPDEF_CALL(void, clear_clock_irq, void)
16BTFIXUPDEF_CALL(void, clear_profile_irq, int)
17BTFIXUPDEF_CALL(void, load_profile_irq, int, unsigned int) 16BTFIXUPDEF_CALL(void, load_profile_irq, int, unsigned int)
18 17
19static inline void __disable_irq(unsigned int irq) 18static inline void __disable_irq(unsigned int irq)
@@ -41,11 +40,6 @@ static inline void clear_clock_irq(void)
41 BTFIXUP_CALL(clear_clock_irq)(); 40 BTFIXUP_CALL(clear_clock_irq)();
42} 41}
43 42
44static inline void clear_profile_irq(int irq)
45{
46 BTFIXUP_CALL(clear_profile_irq)(irq);
47}
48
49static inline void load_profile_irq(int cpu, int limit) 43static inline void load_profile_irq(int cpu, int limit)
50{ 44{
51 BTFIXUP_CALL(load_profile_irq)(cpu, limit); 45 BTFIXUP_CALL(load_profile_irq)(cpu, limit);
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c
index e5950b03df13..462584e55fba 100644
--- a/arch/sparc/kernel/pcic.c
+++ b/arch/sparc/kernel/pcic.c
@@ -897,11 +897,6 @@ static void pcic_enable_irq(unsigned int irq_nr)
897 local_irq_restore(flags); 897 local_irq_restore(flags);
898} 898}
899 899
900static void pcic_clear_profile_irq(int cpu)
901{
902 printk("PCIC: unimplemented code: FILE=%s LINE=%d", __FILE__, __LINE__);
903}
904
905static void pcic_load_profile_irq(int cpu, unsigned int limit) 900static void pcic_load_profile_irq(int cpu, unsigned int limit)
906{ 901{
907 printk("PCIC: unimplemented code: FILE=%s LINE=%d", __FILE__, __LINE__); 902 printk("PCIC: unimplemented code: FILE=%s LINE=%d", __FILE__, __LINE__);
@@ -927,7 +922,6 @@ void __init sun4m_pci_init_IRQ(void)
927 BTFIXUPSET_CALL(enable_pil_irq, pcic_enable_pil_irq, BTFIXUPCALL_NORM); 922 BTFIXUPSET_CALL(enable_pil_irq, pcic_enable_pil_irq, BTFIXUPCALL_NORM);
928 BTFIXUPSET_CALL(disable_pil_irq, pcic_disable_pil_irq, BTFIXUPCALL_NORM); 923 BTFIXUPSET_CALL(disable_pil_irq, pcic_disable_pil_irq, BTFIXUPCALL_NORM);
929 BTFIXUPSET_CALL(clear_clock_irq, pcic_clear_clock_irq, BTFIXUPCALL_NORM); 924 BTFIXUPSET_CALL(clear_clock_irq, pcic_clear_clock_irq, BTFIXUPCALL_NORM);
930 BTFIXUPSET_CALL(clear_profile_irq, pcic_clear_profile_irq, BTFIXUPCALL_NORM);
931 BTFIXUPSET_CALL(load_profile_irq, pcic_load_profile_irq, BTFIXUPCALL_NORM); 925 BTFIXUPSET_CALL(load_profile_irq, pcic_load_profile_irq, BTFIXUPCALL_NORM);
932} 926}
933 927
diff --git a/arch/sparc/kernel/sun4c_irq.c b/arch/sparc/kernel/sun4c_irq.c
index 5602972f3570..6f28a13829ca 100644
--- a/arch/sparc/kernel/sun4c_irq.c
+++ b/arch/sparc/kernel/sun4c_irq.c
@@ -131,11 +131,6 @@ static void sun4c_clear_clock_irq(void)
131 clear_intr = sun4c_timers->timer_limit10; 131 clear_intr = sun4c_timers->timer_limit10;
132} 132}
133 133
134static void sun4c_clear_profile_irq(int cpu)
135{
136 /* Errm.. not sure how to do this.. */
137}
138
139static void sun4c_load_profile_irq(int cpu, unsigned int limit) 134static void sun4c_load_profile_irq(int cpu, unsigned int limit)
140{ 135{
141 /* Errm.. not sure how to do this.. */ 136 /* Errm.. not sure how to do this.. */
@@ -204,7 +199,6 @@ void __init sun4c_init_IRQ(void)
204 BTFIXUPSET_CALL(enable_pil_irq, sun4c_enable_irq, BTFIXUPCALL_NORM); 199 BTFIXUPSET_CALL(enable_pil_irq, sun4c_enable_irq, BTFIXUPCALL_NORM);
205 BTFIXUPSET_CALL(disable_pil_irq, sun4c_disable_irq, BTFIXUPCALL_NORM); 200 BTFIXUPSET_CALL(disable_pil_irq, sun4c_disable_irq, BTFIXUPCALL_NORM);
206 BTFIXUPSET_CALL(clear_clock_irq, sun4c_clear_clock_irq, BTFIXUPCALL_NORM); 201 BTFIXUPSET_CALL(clear_clock_irq, sun4c_clear_clock_irq, BTFIXUPCALL_NORM);
207 BTFIXUPSET_CALL(clear_profile_irq, sun4c_clear_profile_irq, BTFIXUPCALL_NOP);
208 BTFIXUPSET_CALL(load_profile_irq, sun4c_load_profile_irq, BTFIXUPCALL_NOP); 202 BTFIXUPSET_CALL(load_profile_irq, sun4c_load_profile_irq, BTFIXUPCALL_NOP);
209 sparc_init_timers = sun4c_init_timers; 203 sparc_init_timers = sun4c_init_timers;
210#ifdef CONFIG_SMP 204#ifdef CONFIG_SMP
diff --git a/arch/sparc/kernel/sun4d_irq.c b/arch/sparc/kernel/sun4d_irq.c
index 6e3bf6eee543..d376d380ac0a 100644
--- a/arch/sparc/kernel/sun4d_irq.c
+++ b/arch/sparc/kernel/sun4d_irq.c
@@ -448,11 +448,6 @@ static void sun4d_clear_clock_irq(void)
448 sbus_readl(&sun4d_timers->l10_timer_limit); 448 sbus_readl(&sun4d_timers->l10_timer_limit);
449} 449}
450 450
451static void sun4d_clear_profile_irq(int cpu)
452{
453 bw_get_prof_limit(cpu);
454}
455
456static void sun4d_load_profile_irq(int cpu, unsigned int limit) 451static void sun4d_load_profile_irq(int cpu, unsigned int limit)
457{ 452{
458 bw_set_prof_limit(cpu, limit); 453 bw_set_prof_limit(cpu, limit);
@@ -585,7 +580,6 @@ void __init sun4d_init_IRQ(void)
585 BTFIXUPSET_CALL(enable_irq, sun4d_enable_irq, BTFIXUPCALL_NORM); 580 BTFIXUPSET_CALL(enable_irq, sun4d_enable_irq, BTFIXUPCALL_NORM);
586 BTFIXUPSET_CALL(disable_irq, sun4d_disable_irq, BTFIXUPCALL_NORM); 581 BTFIXUPSET_CALL(disable_irq, sun4d_disable_irq, BTFIXUPCALL_NORM);
587 BTFIXUPSET_CALL(clear_clock_irq, sun4d_clear_clock_irq, BTFIXUPCALL_NORM); 582 BTFIXUPSET_CALL(clear_clock_irq, sun4d_clear_clock_irq, BTFIXUPCALL_NORM);
588 BTFIXUPSET_CALL(clear_profile_irq, sun4d_clear_profile_irq, BTFIXUPCALL_NORM);
589 BTFIXUPSET_CALL(load_profile_irq, sun4d_load_profile_irq, BTFIXUPCALL_NORM); 583 BTFIXUPSET_CALL(load_profile_irq, sun4d_load_profile_irq, BTFIXUPCALL_NORM);
590 sparc_init_timers = sun4d_init_timers; 584 sparc_init_timers = sun4d_init_timers;
591#ifdef CONFIG_SMP 585#ifdef CONFIG_SMP
diff --git a/arch/sparc/kernel/sun4m_irq.c b/arch/sparc/kernel/sun4m_irq.c
index 8e1ecc6def26..ab309eca09c3 100644
--- a/arch/sparc/kernel/sun4m_irq.c
+++ b/arch/sparc/kernel/sun4m_irq.c
@@ -379,7 +379,6 @@ void __init sun4m_init_IRQ(void)
379 BTFIXUPSET_CALL(enable_pil_irq, sun4m_enable_pil_irq, BTFIXUPCALL_NORM); 379 BTFIXUPSET_CALL(enable_pil_irq, sun4m_enable_pil_irq, BTFIXUPCALL_NORM);
380 BTFIXUPSET_CALL(disable_pil_irq, sun4m_disable_pil_irq, BTFIXUPCALL_NORM); 380 BTFIXUPSET_CALL(disable_pil_irq, sun4m_disable_pil_irq, BTFIXUPCALL_NORM);
381 BTFIXUPSET_CALL(clear_clock_irq, sun4m_clear_clock_irq, BTFIXUPCALL_NORM); 381 BTFIXUPSET_CALL(clear_clock_irq, sun4m_clear_clock_irq, BTFIXUPCALL_NORM);
382 BTFIXUPSET_CALL(clear_profile_irq, sun4m_clear_profile_irq, BTFIXUPCALL_NORM);
383 BTFIXUPSET_CALL(load_profile_irq, sun4m_load_profile_irq, BTFIXUPCALL_NORM); 382 BTFIXUPSET_CALL(load_profile_irq, sun4m_load_profile_irq, BTFIXUPCALL_NORM);
384 sparc_init_timers = sun4m_init_timers; 383 sparc_init_timers = sun4m_init_timers;
385#ifdef CONFIG_SMP 384#ifdef CONFIG_SMP