Searched hist:"45 db1c6176c8171d9ae6fa6d82e07d115a5950ca" (Results 1 – 4 of 4) sorted by relevance
/linux/arch/x86/um/ |
H A D | sys_call_table_64.c | diff a074335a370eca6d72f2ec890e4ae22923a2aea4 Tue Dec 06 07:48:49 CET 2011 H. Peter Anvin <hpa@zytor.com> x86, um: Mark system call tables readonly
Mark the system call tables readonly, as they already are on native, and the 32-bit UM version was in the previous assembly version. The 32-bit version lost it due to copy and paste from the 64-bit version, which was missing the const.
Cc: Jeff Dike <jdike@addtoit.com> Cc: Richard Weinberger <richard@nod.at> Link: http://lkml.kernel.org/r/tip-45db1c6176c8171d9ae6fa6d82e07d115a5950ca@git.kernel.org Signed-off-by: H. Peter Anvin <hpa@zytor.com> diff 45db1c6176c8171d9ae6fa6d82e07d115a5950ca Tue Dec 06 01:08:49 CET 2011 H. Peter Anvin <hpa@linux.intel.com> x86, um: Use the same style generated syscall tables as native
Now when the native kernel uses a single style of generated system call table, follow suite for UML and implement the same style, all in C. This requires __NR_syscall_max and NR_syscalls to be generated; on native this is done in asm-headers.h but that file is common to all UML architectures; therefore put it in user-headers.h instead which already have accommodations for architecture-specific values.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
H A D | sys_call_table_32.c | diff a074335a370eca6d72f2ec890e4ae22923a2aea4 Tue Dec 06 07:48:49 CET 2011 H. Peter Anvin <hpa@zytor.com> x86, um: Mark system call tables readonly
Mark the system call tables readonly, as they already are on native, and the 32-bit UM version was in the previous assembly version. The 32-bit version lost it due to copy and paste from the 64-bit version, which was missing the const.
Cc: Jeff Dike <jdike@addtoit.com> Cc: Richard Weinberger <richard@nod.at> Link: http://lkml.kernel.org/r/tip-45db1c6176c8171d9ae6fa6d82e07d115a5950ca@git.kernel.org Signed-off-by: H. Peter Anvin <hpa@zytor.com> 45db1c6176c8171d9ae6fa6d82e07d115a5950ca Tue Dec 06 01:08:49 CET 2011 H. Peter Anvin <hpa@linux.intel.com> x86, um: Use the same style generated syscall tables as native
Now when the native kernel uses a single style of generated system call table, follow suite for UML and implement the same style, all in C. This requires __NR_syscall_max and NR_syscalls to be generated; on native this is done in asm-headers.h but that file is common to all UML architectures; therefore put it in user-headers.h instead which already have accommodations for architecture-specific values.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
H A D | user-offsets.c | diff 45db1c6176c8171d9ae6fa6d82e07d115a5950ca Tue Dec 06 01:08:49 CET 2011 H. Peter Anvin <hpa@linux.intel.com> x86, um: Use the same style generated syscall tables as native
Now when the native kernel uses a single style of generated system call table, follow suite for UML and implement the same style, all in C. This requires __NR_syscall_max and NR_syscalls to be generated; on native this is done in asm-headers.h but that file is common to all UML architectures; therefore put it in user-headers.h instead which already have accommodations for architecture-specific values.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
H A D | Makefile | diff 45db1c6176c8171d9ae6fa6d82e07d115a5950ca Tue Dec 06 01:08:49 CET 2011 H. Peter Anvin <hpa@linux.intel.com> x86, um: Use the same style generated syscall tables as native
Now when the native kernel uses a single style of generated system call table, follow suite for UML and implement the same style, all in C. This requires __NR_syscall_max and NR_syscalls to be generated; on native this is done in asm-headers.h but that file is common to all UML architectures; therefore put it in user-headers.h instead which already have accommodations for architecture-specific values.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|