public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Vineet Gupta <vgupta@synopsys.com>,
	Alexey Brodkin <abrodkin@synopsys.com>
Cc: linux-snps-arc@lists.infraded.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed
Date: Thu, 12 Nov 2015 22:01:32 -0800	[thread overview]
Message-ID: <56457CBC.5090204@roeck-us.net> (raw)

Seen since next-20151105.

Building arc:vdk_hs38_smp_defconfig ... failed
--------------
Error log:
In file included from ./arch/arc/include/asm/irqflags-arcv2.h:12:0,
                  from ./arch/arc/include/asm/irqflags.h:16,
                  from include/linux/irqflags.h:15,
                  from include/linux/spinlock.h:53,
                  from include/linux/rcupdate.h:38,
                  from include/linux/idr.h:18,
                  from include/linux/kernfs.h:14,
                  from include/linux/sysfs.h:15,
                  from include/linux/kobject.h:21,
                  from include/linux/device.h:17,
                  from include/linux/of_platform.h:14,
                  from arch/arc/plat-axs10x/axs10x.c:17:
arch/arc/plat-axs10x/axs10x.c: In function ‘axs103_early_init’:
arch/arc/plat-axs10x/axs10x.c:401:41: error: ‘ARC_REG_MCIP_BCR’ undeclared (first use in this function)
   unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
                                          ^
./arch/arc/include/asm/arcregs.h:119:44: note: in definition of macro ‘read_aux_reg’
  #define read_aux_reg(reg) __builtin_arc_lr(reg)
                                             ^
arch/arc/plat-axs10x/axs10x.c:401:41: note: each undeclared identifier is reported only once for each function it appears in
   unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
                                          ^
./arch/arc/include/asm/arcregs.h:119:44: note: in definition of macro ‘read_aux_reg’
  #define read_aux_reg(reg) __builtin_arc_lr(reg)

Seems to be caused by commit f78442cc68a1 ("ARC: remove extraneous header include")
which afaics removes the include file providing the missing define.

Guenter

             reply	other threads:[~2015-11-13  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13  6:01 Guenter Roeck [this message]
2015-11-14  7:21 ` Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed Vineet Gupta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56457CBC.5090204@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=abrodkin@synopsys.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-snps-arc@lists.infraded.org \
    --cc=vgupta@synopsys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox