2005-03-11 04:11:33

by Peter Chubb

[permalink] [raw]
Subject: Microstate Accounting for 2.6.11, patch 5/6

Microstate accounting: Add the I386 system call.

arch/i386/kernel/entry.S | 2 +-
include/asm-i386/unistd.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6-ustate/arch/i386/kernel/entry.S
===================================================================
--- linux-2.6-ustate.orig/arch/i386/kernel/entry.S 2005-03-10 09:16:14.888575341 +1100
+++ linux-2.6-ustate/arch/i386/kernel/entry.S 2005-03-10 09:16:15.446188457 +1100
@@ -876,7 +876,7 @@
.long sys_mq_getsetattr
.long sys_ni_syscall /* reserved for kexec */
.long sys_waitid
- .long sys_ni_syscall /* 285 */ /* available */
+ .long sys_msa /* 285 */ /* available */
.long sys_add_key
.long sys_request_key
.long sys_keyctl
Index: linux-2.6-ustate/include/asm-i386/unistd.h
===================================================================
--- linux-2.6-ustate.orig/include/asm-i386/unistd.h 2005-03-10 09:13:00.813843194 +1100
+++ linux-2.6-ustate/include/asm-i386/unistd.h 2005-03-10 09:16:15.448141568 +1100
@@ -290,7 +290,7 @@
#define __NR_mq_getsetattr (__NR_mq_open+5)
#define __NR_sys_kexec_load 283
#define __NR_waitid 284
-/* #define __NR_sys_setaltroot 285 */
+#define __NR_sys_msa 285
#define __NR_add_key 286
#define __NR_request_key 287
#define __NR_keyctl 288


2005-03-12 18:27:16

by Randy.Dunlap

[permalink] [raw]
Subject: Re: Microstate Accounting for 2.6.11, patch 5/6

Peter Chubb wrote:
> Microstate accounting: Add the I386 system call.
>
> arch/i386/kernel/entry.S | 2 +-
> include/asm-i386/unistd.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-2.6-ustate/arch/i386/kernel/entry.S
> ===================================================================
> --- linux-2.6-ustate.orig/arch/i386/kernel/entry.S 2005-03-10 09:16:14.888575341 +1100
> +++ linux-2.6-ustate/arch/i386/kernel/entry.S 2005-03-10 09:16:15.446188457 +1100
> @@ -876,7 +876,7 @@
> .long sys_mq_getsetattr
> .long sys_ni_syscall /* reserved for kexec */
> .long sys_waitid
> - .long sys_ni_syscall /* 285 */ /* available */
> + .long sys_msa /* 285 */ /* available */
no longer "available" ?
> .long sys_add_key
> .long sys_request_key
> .long sys_keyctl


--
~Randy