Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932403Ab3FQKMh (ORCPT ); Mon, 17 Jun 2013 06:12:37 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:43769 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754868Ab3FQKMg (ORCPT ); Mon, 17 Jun 2013 06:12:36 -0400 MIME-Version: 1.0 In-Reply-To: References: <1371413189-2568-1-git-send-email-ddaney.cavm@gmail.com> <1371413189-2568-3-git-send-email-ddaney.cavm@gmail.com> Date: Mon, 17 Jun 2013 12:12:35 +0200 X-Google-Sender-Auth: TZSjyfURWypxiaTgUyayCsq2ioA Message-ID: Subject: Re: [PATCH 2/2] mn10300: Fix include dependency in irqflags.h From: Geert Uytterhoeven To: David Daney Cc: Linus Torvalds , "linux-kernel@vger.kernel.org" , Tony Luck , Fenghua Yu , "linux-ia64@vger.kernel.org" , David Howells , Koichi Yasutake , linux-am33-list@redhat.com, David Daney , David Daney Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2152 Lines: 49 On Mon, Jun 17, 2013 at 9:07 AM, Geert Uytterhoeven wrote: > On Sun, Jun 16, 2013 at 10:06 PM, wrote: >> From: David Daney >> >> 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(). > > Thanks, this fixes the build! > >> Signed-off-by: David Daney > > Acked-by: Geert Uytterhoeven Sorry, I acked to soon. While SMP=n is fine (asb2303_defconfig), there's a new regression with asb2364_defconfig, which has SMP=y: CC arch/mn10300/kernel/asm-offsets.s In file included from /scratch/geert/linux/linux/arch/mn10300/include/asm/irqflags.h:18:0, from /scratch/geert/linux/linux/include/linux/irqflags.h:15, from /scratch/geert/linux/linux/include/linux/spinlock.h:53, from /scratch/geert/linux/linux/include/linux/seqlock.h:29, from /scratch/geert/linux/linux/include/linux/time.h:5, from /scratch/geert/linux/linux/include/uapi/linux/timex.h:56, from /scratch/geert/linux/linux/include/linux/timex.h:56, from /scratch/geert/linux/linux/include/linux/sched.h:17, from /scratch/geert/linux/linux/arch/mn10300/kernel/asm-offsets.c:7: /scratch/geert/linux/linux/arch/mn10300/include/asm/smp.h:88:34: error: unknown type name 'smp_call_func_t' make[4]: *** [arch/mn10300/kernel/asm-offsets.s] Error 1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/