kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in ".if
Date: Mon, 15 Oct 2012 13:11:49 +0000	[thread overview]
Message-ID: <20121015131149.GA23400@localhost> (raw)

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

             reply	other threads:[~2012-10-15 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 13:11 Fengguang Wu [this message]
2012-10-15 14:50 ` [arm-perf:cacheflush 3/4] arch/arm/kernel/entry-common.S:105: Error: non-constant expression in Will Deacon

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=20121015131149.GA23400@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).