h8300 entry.S update
PATCH 1/1 h8300 entry.S update
Signed-off-by Yoshinori Sato <[email protected]>
arch/h8300/kernel/Makefile +2 -1
@@ -6,6 +6,7 @@ extra-y := vmlinux.lds obj-y := process.o traps.o ptrace.o irq.o \ sys_h8300.o time.o semaphore.o signal.o \ - setup.o gpio.o init_task.o syscalls.o + setup.o gpio.o init_task.o syscalls.o \ + entry.o obj-$(CONFIG_MODULES) += module.o h8300_ksyms.o
arch/h8300/kernel/entry.S new file +393 -0
393 lines not on this page · raw message
arch/h8300/kernel/ptrace.c +1 -1
@@ -219,7 +219,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)return ret; } -asmlinkage void syscall_trace(void) +asmlinkage void do_syscall_trace(void) {if (!test_thread_flag (TIF_SYSCALL_TRACE ))return ;
arch/h8300/kernel/signal.c +6 -0
@@ -547,3 +547,9 @@ asmlinkage int do_signal(struct pt_regs *regs, sigset_t *oldset) }return 0 ; } + +asmlinkage void do_notify_resume(struct pt_regs *regs, u32 thread_info_flags) +{ +if (thread_info_flags & (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK)) +do_signal (regs,NULL ); +}
arch/h8300/platform/h8300h/Makefile +1 -1
@@ -4,4 +4,4 @@ # Reuse any files we can from the H8/300H # -obj-y := entry.o irq_pin.o ptrace_h8300h.o +obj-y := irq_pin.o ptrace_h8300h.o
arch/h8300/platform/h8300h/entry.S deleted +0 -332
332 lines not on this page · raw message
arch/h8300/platform/h8s/Makefile +1 -1
@@ -4,4 +4,4 @@ # Reuse any files we can from the H8S # -obj-y := entry.o ints_h8s.o ptrace_h8s.o +obj-y := ints_h8s.o ptrace_h8s.o
arch/h8300/platform/h8s/entry.S deleted +0 -331
331 lines not on this page · raw message
include/asm-h8300/thread_info.h +2 -0
@@ -92,6 +92,7 @@ static inline struct thread_info *current_thread_info(void)#define TIF_POLLING_NRFLAG 4/* true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_MEMDIE 5 +#define TIF_RESTORE_SIGMASK 6/* restore signal mask in do_signal() */ /* as above, but as bit values */ #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
@@ -99,6 +100,7 @@ static inline struct thread_info *current_thread_info(void)#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) +#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)#define _TIF_WORK_MASK 0x0000FFFE/* work to do on interrupt/exception return */
Signature · 2 lines
Yoshinori Sato <[email protected]>
arch/h8300/kernel/Makefile
Quoted 10 lines · On Fri, 13 Jul 2007 15:56:20 +0900 Yoshinori Sato <[email protected]>…
Subject: [PATCH] h8300
entry.Supdate
Date: Fri, 13 Jul 2007 15:56:20 +0900
Organization: SIOS Technology, Inc.
User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka)
FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.93 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)Signed-off-by Yoshinori Sato <[email protected]>arch/h8300/kernel/Makefile +0
-0
hm, we're missing any description of what this change actually does?