diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2007-05-31 13:46:21 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-31 13:46:21 +0900 |
commit | 66c5227ecd3041b0467a091ad81b8d312e572ea8 (patch) | |
tree | 8d910d8f45c498c4d4f66694ff425f4b7d90d114 /arch/sh/kernel/smp.c | |
parent | f75522cea12fe1ed9336c1a02b170bd06383e8a3 (diff) |
sh: trivial build cleanups.
Several errors were spotted during building for custom config (SMP
included). Although SMP still does not compile (no ipi and
__smp_call_function) and does not work, this looks a bit cleaner.
Some other errors obtained via gcc-4.1.0 build.
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r-- | arch/sh/kernel/smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index dbebaddcfe3..283e1425ced 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c @@ -10,6 +10,8 @@ * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ + +#include <linux/err.h> #include <linux/cache.h> #include <linux/cpumask.h> #include <linux/delay.h> |