aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-08-22 22:46:19 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:46:19 -0700
commit0a50caad8db2a2a4ab547d8e280ad29560fef37d (patch)
tree375f29d0c394c63fe4acbf8953788a3469109478 /arch
parent38612ed31d3c81039e605f3510710a9db746218c (diff)
downloadhistory-0a50caad8db2a2a4ab547d8e280ad29560fef37d.tar.gz
[PATCH] send_IPI_mask_bitmask() build fix
With gcc-3.4.1: arch/i386/kernel/smp.c: In function `flush_tlb_others': arch/i386/kernel/smp.c:161: sorry, unimplemented: inlining failed in call to 'send_IPI_mask_bitmask': function not considered for inlining arch/i386/kernel/smp.c:9: sorry, unimplemented: called from here Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/smp.c b/arch/i386/kernel/smp.c
index e12d63863d1d20..cf6ddbcf9ea20a 100644
--- a/arch/i386/kernel/smp.c
+++ b/arch/i386/kernel/smp.c
@@ -121,7 +121,7 @@ static inline int __prepare_ICR2 (unsigned int mask)
return SET_APIC_DEST_FIELD(mask);
}
-inline void __send_IPI_shortcut(unsigned int shortcut, int vector)
+void __send_IPI_shortcut(unsigned int shortcut, int vector)
{
/*
* Subtle. In the case of the 'never do double writes' workaround
@@ -156,7 +156,7 @@ void fastcall send_IPI_self(int vector)
/*
* This is only used on smaller machines.
*/
-inline void send_IPI_mask_bitmask(cpumask_t cpumask, int vector)
+void send_IPI_mask_bitmask(cpumask_t cpumask, int vector)
{
unsigned long mask = cpus_addr(cpumask)[0];
unsigned long cfg;