kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in ".if
@ 2012-10-15 13:11 Fengguang Wu
  2012-10-15 14:50 ` [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-10-15 13:11 UTC (permalink / raw)
  To: kernel-janitors

Hi Will,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git cacheflush
head:   e0c396a5e4a3abbe8ac6bc19670f39f8e7b7b399
commit: 9e0ec2d6f8bc8b274b5471d194a03b7dd10e8832 [3/4] ARM: cacheflush: add new iovec-based cache flushing system call
config: arm-at91_dt_defconfig # make ARCH=arm at91_dt_defconfig

All error/warnings:

arch/arm/kernel/entry-common.S: Assembler messages:
arch/arm/kernel/entry-common.S:105: Error: non-constant expression in ".if" statement

vim +105 arch/arm/kernel/entry-common.S

9fff2fa0 Al Viro         2012-10-10   89  	cmp	r5, #0
9fff2fa0 Al Viro         2012-10-10   90  	movne	r0, r4
9fff2fa0 Al Viro         2012-10-10   91  	movne	lr, pc
9fff2fa0 Al Viro         2012-10-10   92  	movne	pc, r5
^1da177e Linus Torvalds  2005-04-16   93  	get_thread_info tsk
^1da177e Linus Torvalds  2005-04-16   94  	b	ret_slow_syscall
93ed3970 Catalin Marinas 2008-08-28   95  ENDPROC(ret_from_fork)
^1da177e Linus Torvalds  2005-04-16   96  
fa1b4f91 Al Viro         2006-01-19   97  	.equ NR_syscalls,0
fa1b4f91 Al Viro         2006-01-19   98  #define CALL(x) .equ NR_syscalls,NR_syscalls+1
^1da177e Linus Torvalds  2005-04-16   99  #include "calls.S"
1f66e06f Wade Farnsworth 2012-09-07  100  
1f66e06f Wade Farnsworth 2012-09-07  101  /*
1f66e06f Wade Farnsworth 2012-09-07  102   * Ensure that the system call table is equal to __NR_syscalls,
1f66e06f Wade Farnsworth 2012-09-07  103   * which is the value the rest of the system sees
1f66e06f Wade Farnsworth 2012-09-07  104   */
1f66e06f Wade Farnsworth 2012-09-07 @105  .ifne NR_syscalls - __NR_syscalls
1f66e06f Wade Farnsworth 2012-09-07  106  .error "__NR_syscalls is not equal to the size of the syscall table"
1f66e06f Wade Farnsworth 2012-09-07  107  .endif
1f66e06f Wade Farnsworth 2012-09-07  108  
fa1b4f91 Al Viro         2006-01-19  109  #undef CALL
fa1b4f91 Al Viro         2006-01-19  110  #define CALL(x) .long x
^1da177e Linus Torvalds  2005-04-16  111  
606576ce Steven Rostedt  2008-10-06  112  #ifdef CONFIG_FUNCTION_TRACER
686ff228 Rabin Vincent   2010-08-03  113  /*

The code at line 105 was first introduced by commit:
1f66e06 ARM: 7524/1: support syscall tracing


---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in
  2012-10-15 13:11 [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in ".if Fengguang Wu
@ 2012-10-15 14:50 ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2012-10-15 14:50 UTC (permalink / raw)
  To: kernel-janitors

On Mon, Oct 15, 2012 at 02:11:49PM +0100, Fengguang Wu wrote:
> Hi Will,

Hello,

> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git cacheflush
> head:   e0c396a5e4a3abbe8ac6bc19670f39f8e7b7b399
> commit: 9e0ec2d6f8bc8b274b5471d194a03b7dd10e8832 [3/4] ARM: cacheflush: add new iovec-based cache flushing system call
> config: arm-at91_dt_defconfig # make ARCH=arm at91_dt_defconfig
> 
> All error/warnings:
> 
> arch/arm/kernel/entry-common.S: Assembler messages:
> arch/arm/kernel/entry-common.S:105: Error: non-constant expression in ".if" statement

Thanks, this is due to a mismerge with the uapi stuff. I'll rebuild the
branch and push a new version.

Will

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-15 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 13:11 [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in ".if Fengguang Wu
2012-10-15 14:50 ` [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in Will Deacon

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).