Build failure in -next: Building arc:vdk_hs38_smp_defconfig ... failed
From: Guenter Roeck
Date: Fri Nov 13 2015 - 01:02:15 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/