[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D8A9ED7.5040709@redhat.com>
Date: Thu, 24 Mar 2011 09:31:03 +0800
From: Cong Wang <amwang@...hat.com>
To: David Howells <dhowells@...hat.com>
CC: torvalds@...l.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix linux/smp.h to include linux/init.h
于 2011年03月23日 19:35, David Howells 写道:
> linux/smp.h now needs to include linux/init.h lest it give the following error:
>
> CC arch/mn10300/kernel/asm-offsets.s
> In file included from /data/mn10300/linux-2.6-mn10300/arch/mn10300/include/asm/irqflags.h:17,
> from include/linux/irqflags.h:15,
> from include/linux/spinlock.h:53,
> from include/linux/seqlock.h:29,
> from include/linux/time.h:8,
> from include/linux/timex.h:56,
> from include/linux/sched.h:57,
> from arch/mn10300/kernel/asm-offsets.c:7:
> include/linux/smp.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_nr_cpu_ids'
> include/linux/smp.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'smp_init'
>
> Signed-off-by: David Howells<dhowells@...hat.com>
Hi, David,
Heiko sent a same patch before you did. :)
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists