Skip to content

Commit

Permalink
cpumask: remove arch_send_call_function_ipi
Browse files Browse the repository at this point in the history
Now everyone is converted to arch_send_call_function_ipi_mask, remove
the shim and the #defines.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Sep 24, 2009
1 parent 630cd04 commit 0748bd0
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion arch/alpha/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ extern int smp_num_cpus;

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#else /* CONFIG_SMP */

Expand Down
1 change: 0 additions & 1 deletion arch/arm/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ extern void platform_cpu_enable(unsigned int cpu);

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

/*
* show local interrupt info
Expand Down
1 change: 0 additions & 1 deletion arch/ia64/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ extern int is_multithreading_enabled(void);

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#else /* CONFIG_SMP */

Expand Down
1 change: 0 additions & 1 deletion arch/m32r/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ extern unsigned long send_IPI_mask_phys(cpumask_t, int, int);

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#endif /* not __ASSEMBLY__ */

Expand Down
1 change: 0 additions & 1 deletion arch/mips/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,5 @@ extern asmlinkage void smp_call_function_interrupt(void);

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#endif /* __ASM_SMP_H */
1 change: 0 additions & 1 deletion arch/parisc/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ extern void smp_send_all_nop(void);

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#endif /* !ASSEMBLY */

Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ extern struct smp_ops_t *smp_ops;

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

/* Definitions relative to the secondary CPU spin loop
* and entry point. Not all of them exist on both 32 and
Expand Down
1 change: 0 additions & 1 deletion arch/s390/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ extern int smp_cpu_polarization[];

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#endif

Expand Down
1 change: 0 additions & 1 deletion arch/sh/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ void plat_send_ipi(unsigned int cpu, unsigned int message);

void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

#else

Expand Down
1 change: 0 additions & 1 deletion arch/sparc/include/asm/smp_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extern int sparc64_multi_core;

extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask

/*
* General functions that each host system must provide.
Expand Down
1 change: 0 additions & 1 deletion arch/x86/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ static inline void arch_send_call_function_single_ipi(int cpu)
smp_ops.send_call_func_single_ipi(cpu);
}

#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask
static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask)
{
smp_ops.send_call_func_ipi(mask);
Expand Down
7 changes: 0 additions & 7 deletions kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,6 @@ void __smp_call_function_single(int cpu, struct call_single_data *data,
generic_exec_single(cpu, data, wait);
}

/* Deprecated: shim for archs using old arch_send_call_function_ipi API. */

#ifndef arch_send_call_function_ipi_mask
# define arch_send_call_function_ipi_mask(maskp) \
arch_send_call_function_ipi(*(maskp))
#endif

/**
* smp_call_function_many(): Run a function on a set of other CPUs.
* @mask: The set of cpus to run on (only runs on online subset).
Expand Down

0 comments on commit 0748bd0

Please sign in to comment.