[PATCH 26/28] From: Andrew Morton <akpm@linux-foundation.org>

Jeremy Fitzhardinge
2007-04-14T21:29:40Z

[-- Attachment #1: rename-the-parainstructions-symbols-to-be-consistent-with-the-others-fix.patch --]
[-- Type: text/plain, Size: 1412 bytes --]

x86_64:

arch/x86_64/kernel/../../i386/kernel/alternative.c: In function 'alternative_instructions':
arch/x86_64/kernel/../../i386/kernel/alternative.c:374: error: '__parainstructions' undeclared (first use in this function)
arch/x86_64/kernel/../../i386/kernel/alternative.c:374: error: (Each undeclared identifier is reported only once
arch/x86_64/kernel/../../i386/kernel/alternative.c:374: error: for each function it appears in.)
arch/x86_64/kernel/../../i386/kernel/alternative.c:374: error: '__parainstructions_end' undeclared (first use in this function)

Cc: Andi Kleen <ak@suse.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/asm-x86_64/alternative.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

===================================================================
--- a/include/asm-x86_64/alternative.h~rename-the-parainstructions-symbols-to-be-consistent-with-the-others-fix
+++ a/include/asm-x86_64/alternative.h
@@ -141,8 +141,8 @@ void apply_paravirt(struct paravirt_patc
static inline void
apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end)
{}
-#define __start_parainstructions NULL
-#define __stop_parainstructions NULL
+#define __parainstructions NULL
+#define __parainstructions_end NULL
#endif

#endif /* _X86_64_ALTERNATIVE_H */
_

--