[PATCH 2/5] x86: Fix .size directive for async_page_fault

From: Ben Hutchings
Date: Tue Mar 08 2011 - 19:31:39 EST


From: Alan Modra <amodra@xxxxxxxxx>

[bwh: This is my summary.]

gas used to accept (and ignore?) .size directives which referred to
undefined symbols, as this does. In binutils 2.21 these are treated
as errors.

Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
---
If this is already headed to Linus by some other route, sorry for the
dupe.

Alan: Care to add your S-o-b? (I can't believe this is even subject to
copyright, so I'm signing it off myself anyway.)

Ben.

arch/x86/kernel/entry_32.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
index c8b4efa..9ca3b0e 100644
--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -1413,7 +1413,7 @@ ENTRY(async_page_fault)
CFI_ADJUST_CFA_OFFSET 4
jmp error_code
CFI_ENDPROC
-END(apf_page_fault)
+END(async_page_fault)
#endif

/*
--
1.7.4.1



--
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/