* [PATCH] mips: fix compilation of mips-lasat
@ 2009-08-12 19:59 Alexey Dobriyan
2009-08-28 7:58 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2009-08-12 19:59 UTC (permalink / raw)
To: ralf; +Cc: linux-mips
Header needed for current_cpu_data which expands to smp_processor_id().
However, linux/smp.h can't be included into asm/cpu-info.h due to
horrible circular dependencies, so plug it here.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
arch/mips/include/asm/lasat/lasat.h | 1 +
1 file changed, 1 insertion(+)
--- a/arch/mips/include/asm/lasat/lasat.h
+++ b/arch/mips/include/asm/lasat/lasat.h
@@ -227,6 +227,7 @@ extern void lasat_write_eeprom_info(void);
* It is used for the bit-banging rtc and eeprom drivers */
#include <linux/delay.h>
+#include <linux/smp.h>
/* calculating with the slowest board with 100 MHz clock */
#define LASAT_100_DIVIDER 20
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mips: fix compilation of mips-lasat
2009-08-12 19:59 [PATCH] mips: fix compilation of mips-lasat Alexey Dobriyan
@ 2009-08-28 7:58 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-08-28 7:58 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: linux-mips
On Wed, Aug 12, 2009 at 11:59:27PM +0400, Alexey Dobriyan wrote:
> Header needed for current_cpu_data which expands to smp_processor_id().
> However, linux/smp.h can't be included into asm/cpu-info.h due to
> horrible circular dependencies, so plug it here.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Thanks, applied!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-28 7:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-12 19:59 [PATCH] mips: fix compilation of mips-lasat Alexey Dobriyan
2009-08-28 7:58 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).