This is a note to let you know that I've just added the patch titled
x86, um: Correct syscall table type attributes breaking gcc 4.8
to the 3.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
x86-um-correct-syscall-table-type-attributes-breaking-gcc-4.8.patch
and it can be found in the queue-3.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 9271b0b4b2044c6db06051fe60bc58cdd4f17c7c Mon Sep 17 00:00:00 2001
From: Martin Pelikan <[email protected]>
Date: Sat, 9 Jun 2012 21:22:11 +0200
Subject: x86, um: Correct syscall table type attributes breaking gcc 4.8
From: Martin Pelikan <[email protected]>
commit 9271b0b4b2044c6db06051fe60bc58cdd4f17c7c upstream.
The latest GCC 4.8 does some more checking on type attributes that
break the build for ARCH=um -> fill them in. Specifically, the
"asmlinkage" attributes is now tested for consistency.
Signed-off-by: Martin Pelikan <[email protected]>
Link:
http://lkml.kernel.org/r/[email protected]
Acked-by: Richard Weinberger <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Bernhard M. Wiedemann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/x86/um/sys_call_table_32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/x86/um/sys_call_table_32.c
+++ b/arch/x86/um/sys_call_table_32.c
@@ -39,9 +39,9 @@
#undef __SYSCALL_I386
#define __SYSCALL_I386(nr, sym, compat) [ nr ] = sym,
-typedef void (*sys_call_ptr_t)(void);
+typedef asmlinkage void (*sys_call_ptr_t)(void);
-extern void sys_ni_syscall(void);
+extern asmlinkage void sys_ni_syscall(void);
const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
/*
Patches currently in stable-queue which might be from [email protected] are
queue-3.4/x86-um-correct-syscall-table-type-attributes-breaking-gcc-4.8.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html