]> git.baikalelectronics.ru Git - kernel.git/commit
mn10300: Fix include dependency in irqflags.h et al.
authorDavid Daney <david.daney@cavium.com>
Mon, 17 Jun 2013 15:46:07 +0000 (08:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 19 Jun 2013 16:29:54 +0000 (06:29 -1000)
commite34b95bbcd5a7cd38f9430a9a394e2facf17d7d9
tree046ef7268a23c900b33a7ee5c4de669f080e87df
parenteb0f84f71dc69d1b30086a13270e423a7edee20c
mn10300: Fix include dependency in irqflags.h et al.

We need to pick up the definition of raw_smp_processor_id() from
asm/smp.h.  For the !SMP case, we need to supply a definition of
raw_smp_processor_id().

Because of the include dependencies we cannot use smp_call_func_t in
asm/smp.h, but we do need linux/thread_info.h

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/include/asm/irqflags.h
arch/mn10300/include/asm/smp.h