mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] FRV: Drop the .data.idt section for FRV
@ 2008-02-20 18:11 David Howells
  2008-02-20 18:11 ` [PATCH 2/2] FRV: Change the timerfd syscalls to be the same as i386 David Howells
  0 siblings, 1 reply; 3+ messages in thread
From: David Howells @ 2008-02-20 18:11 UTC (permalink / raw)
  To: torvalds, akpm, gorcunov; +Cc: sam, linux-kernel, dhowells

From: David Howells <dhowells@redhat.com>

There is no .data.idt section for FRV, so drop it from the linker script.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 arch/frv/kernel/vmlinux.lds.S |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S
index 17725a5..b95c4ea 100644
--- a/arch/frv/kernel/vmlinux.lds.S
+++ b/arch/frv/kernel/vmlinux.lds.S
@@ -76,9 +76,6 @@ SECTIONS
 	  *(.data.init_task)
   }
 
-  . = ALIGN(4096);
-  .data.page_aligned : { *(.data.idt) }
-
   . = ALIGN(L1_CACHE_BYTES);
   .data.cacheline_aligned : { *(.data.cacheline_aligned) }
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] FRV: Change the timerfd syscalls to be the same as i386
  2008-02-20 18:11 [PATCH 1/2] FRV: Drop the .data.idt section for FRV David Howells
@ 2008-02-20 18:11 ` David Howells
  0 siblings, 0 replies; 3+ messages in thread
From: David Howells @ 2008-02-20 18:11 UTC (permalink / raw)
  To: torvalds, akpm, gorcunov; +Cc: sam, linux-kernel, dhowells

From: David Howells <dhowells@redhat.com>

Change the FRV timerfd syscalls to be the same as i386 timerfd syscalls.

Signed-off-by: David Howells <dhowells@redhat.com>
---

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


diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S
index ca6a345..f36d7f4 100644
--- a/arch/frv/kernel/entry.S
+++ b/arch/frv/kernel/entry.S
@@ -1494,9 +1494,11 @@ sys_call_table:
 	.long sys_epoll_pwait
 	.long sys_utimensat		/* 320 */
 	.long sys_signalfd
-	.long sys_ni_syscall
+	.long sys_timerfd_create
 	.long sys_eventfd
 	.long sys_fallocate
+	.long sys_timerfd_settime	/* 325 */
+	.long sys_timerfd_gettime
 
 
 syscall_table_size = (. - sys_call_table)
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h
index e8c9866..f184eb8 100644
--- a/include/asm-frv/unistd.h
+++ b/include/asm-frv/unistd.h
@@ -328,9 +328,11 @@
 #define __NR_epoll_pwait	319
 #define __NR_utimensat		320
 #define __NR_signalfd		321
-/* #define __NR_timerfd		322 removed */
+#define __NR_timerfd_create	322
 #define __NR_eventfd		323
 #define __NR_fallocate		324
+#define __NR_timerfd_settime	325
+#define __NR_timerfd_gettime	326
 
 #ifdef __KERNEL__
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] FRV: Change the timerfd syscalls to be the same as i386
  2008-02-20 18:10 [PATCH 1/2] FRV: Drop the .data.idt section for FRV David Howells
@ 2008-02-20 18:10 ` David Howells
  0 siblings, 0 replies; 3+ messages in thread
From: David Howells @ 2008-02-20 18:10 UTC (permalink / raw)
  To: torvalds, apkm, gorcunov; +Cc: sam, linux-kernel, dhowells

From: David Howells <dhowells@redhat.com>

Change the FRV timerfd syscalls to be the same as i386 timerfd syscalls.

Signed-off-by: David Howells <dhowells@redhat.com>
---

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


diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S
index ca6a345..f36d7f4 100644
--- a/arch/frv/kernel/entry.S
+++ b/arch/frv/kernel/entry.S
@@ -1494,9 +1494,11 @@ sys_call_table:
 	.long sys_epoll_pwait
 	.long sys_utimensat		/* 320 */
 	.long sys_signalfd
-	.long sys_ni_syscall
+	.long sys_timerfd_create
 	.long sys_eventfd
 	.long sys_fallocate
+	.long sys_timerfd_settime	/* 325 */
+	.long sys_timerfd_gettime
 
 
 syscall_table_size = (. - sys_call_table)
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h
index e8c9866..f184eb8 100644
--- a/include/asm-frv/unistd.h
+++ b/include/asm-frv/unistd.h
@@ -328,9 +328,11 @@
 #define __NR_epoll_pwait	319
 #define __NR_utimensat		320
 #define __NR_signalfd		321
-/* #define __NR_timerfd		322 removed */
+#define __NR_timerfd_create	322
 #define __NR_eventfd		323
 #define __NR_fallocate		324
+#define __NR_timerfd_settime	325
+#define __NR_timerfd_gettime	326
 
 #ifdef __KERNEL__
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-20 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-20 18:11 [PATCH 1/2] FRV: Drop the .data.idt section for FRV David Howells
2008-02-20 18:11 ` [PATCH 2/2] FRV: Change the timerfd syscalls to be the same as i386 David Howells
  -- strict thread matches above, loose matches on Subject: below --
2008-02-20 18:10 [PATCH 1/2] FRV: Drop the .data.idt section for FRV David Howells
2008-02-20 18:10 ` [PATCH 2/2] FRV: Change the timerfd syscalls to be the same as i386 David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®