git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: smp: Protect setup_profiling_timer() by CONFIG_PROFILING
[sfrench/cifs-2.6.git]
/
arch
/
sh
/
kernel
/
smp.c
diff --git
a/arch/sh/kernel/smp.c
b/arch/sh/kernel/smp.c
index b3ea50aabba3d7f282303145e9780a2a313d70c2..108d808767fa9984931cfd5c2d7c97c56fbedc95 100644
(file)
--- a/
arch/sh/kernel/smp.c
+++ b/
arch/sh/kernel/smp.c
@@
-322,11
+322,13
@@
void smp_message_recv(unsigned int msg)
}
}
+#ifdef CONFIG_PROFILING
/* Not really SMP stuff ... */
int setup_profiling_timer(unsigned int multiplier)
{
return 0;
}
+#endif
#ifdef CONFIG_MMU