RTAS syscall reservation
John Rose
johnrose at austin.ibm.com
Wed Jan 21 03:50:45 EST 2004
Does the following look appropriate for reserving the RTAS syscall on
2.4? If so, I'll mail to lkml.
Thanks-
John
diff -Nru a/include/asm-ppc/unistd.h b/include/asm-ppc/unistd.h
--- a/include/asm-ppc/unistd.h Tue Jan 20 10:47:07 2004
+++ b/include/asm-ppc/unistd.h Tue Jan 20 10:47:07 2004
@@ -256,6 +256,7 @@
#define __NR_clock_nanosleep 248
#endif
#define __NR_swapcontext 249
+#define __NR_rtas 255
#define __NR(n) #n
diff -Nru a/include/asm-ppc64/unistd.h b/include/asm-ppc64/unistd.h
--- a/include/asm-ppc64/unistd.h Tue Jan 20 10:47:07 2004
+++ b/include/asm-ppc64/unistd.h Tue Jan 20 10:47:07 2004
@@ -244,6 +244,7 @@
#define __NR_alloc_hugepages 232
#define __NR_free_hugepages 233
#define __NR_exit_group 234
+#define __NR_rtas 255
/* On powerpc a system call basically clobbers the same registers like a
* function call, with the exception of LR (which is needed for the
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list