1
Subject: [BUG] as of trunk build Linux kernel trunk entry_32.S got error
2
Date: Thu, 03 Mar 2011 14:30:51 -0000
3
From: Alan Modra <amodra@gmail.com>
6
On Thu, Mar 03, 2011 at 05:48:01AM -0800, H.J. Lu wrote:
7
> On Wed, Mar 2, 2011 at 10:16 PM, Hui Zhu <teawater@gmail.com> wrote:
9
> > GNU assembler (GNU Binutils) 2.21.51.20110303
10
> > AS arch/x86/kernel/entry_32.o
11
> > /home/teawater/big/kernel/linux-2.6/arch/x86/kernel/entry_32.S:
12
> > Assembler messages:
13
> > /home/teawater/big/kernel/linux-2.6/arch/x86/kernel/entry_32.S:1422:
14
> > Error: .size expression does not evaluate to a constant
16
> > When I change back to the as of system, everything is OK.
18
> > Because I always use the as of trunk, so I think a recent PATCH caused
24
> http://git.kernel.org/?p=linux/kernel/git/hjl/linux-2.6.37.y.git;a=commitdiff;h=2c5ce9c1b8eb927c131a31d4466e24e00647e9cb
26
That doesn't fix the similar entry_32.S problem. Here you go.
29
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
30
index c8b4efa..9ca3b0e 100644
31
--- a/arch/x86/kernel/entry_32.S
32
+++ b/arch/x86/kernel/entry_32.S
33
@@ -1413,7 +1413,7 @@ ENTRY(async_page_fault)
34
CFI_ADJUST_CFA_OFFSET 4
38
+END(async_page_fault)