Skip to content

Commit

Permalink
smp: Remove ipi_call_lock[_irq]()/ipi_call_unlock[_irq]()
Browse files Browse the repository at this point in the history
There is no user of those APIs anymore, just remove it.

Signed-off-by: Yong Zhang <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Srivatsa S. Bhat <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
yongzhang0 authored and KAGA-KOKO committed Jun 5, 2012
1 parent 72ec61a commit 8feb8e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ void kick_all_cpus_sync(void);
void __init call_function_init(void);
void generic_smp_call_function_single_interrupt(void);
void generic_smp_call_function_interrupt(void);
void ipi_call_lock(void);
void ipi_call_unlock(void);
void ipi_call_lock_irq(void);
void ipi_call_unlock_irq(void);
#else
static inline void call_function_init(void) { }
#endif
Expand Down
20 changes: 0 additions & 20 deletions kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,26 +581,6 @@ int smp_call_function(smp_call_func_t func, void *info, int wait)
return 0;
}
EXPORT_SYMBOL(smp_call_function);

void ipi_call_lock(void)
{
raw_spin_lock(&call_function.lock);
}

void ipi_call_unlock(void)
{
raw_spin_unlock(&call_function.lock);
}

void ipi_call_lock_irq(void)
{
raw_spin_lock_irq(&call_function.lock);
}

void ipi_call_unlock_irq(void)
{
raw_spin_unlock_irq(&call_function.lock);
}
#endif /* USE_GENERIC_SMP_HELPERS */

/* Setup configured maximum number of CPUs to activate */
Expand Down

0 comments on commit 8feb8e8

Please sign in to comment.