Skip to content

Commit cfb25b8

Browse files
committed
parisc: signal: Mark do_notify_resume() and sys_rt_sigreturn() asmlinkage
Signed-off-by: Helge Deller <[email protected]>
1 parent a7fde0b commit cfb25b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/parisc/kernel/signal.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs)
7373
return err;
7474
}
7575

76-
void
76+
asmlinkage void
7777
sys_rt_sigreturn(struct pt_regs *regs, int in_syscall)
7878
{
7979
struct rt_sigframe __user *frame;
@@ -176,7 +176,7 @@ get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size)
176176
}
177177

178178
static long
179-
setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, int in_syscall)
179+
setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, long in_syscall)
180180

181181
{
182182
unsigned long flags = 0;
@@ -211,7 +211,7 @@ setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, int in_sysc
211211

212212
static long
213213
setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs,
214-
int in_syscall)
214+
long in_syscall)
215215
{
216216
struct rt_sigframe __user *frame;
217217
unsigned long rp, usp;
@@ -380,7 +380,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs,
380380
*/
381381

382382
static void
383-
handle_signal(struct ksignal *ksig, struct pt_regs *regs, int in_syscall)
383+
handle_signal(struct ksignal *ksig, struct pt_regs *regs, long in_syscall)
384384
{
385385
int ret;
386386
sigset_t *oldset = sigmask_to_save();
@@ -578,7 +578,7 @@ static void do_signal(struct pt_regs *regs, long in_syscall)
578578
restore_saved_sigmask();
579579
}
580580

581-
void do_notify_resume(struct pt_regs *regs, long in_syscall)
581+
asmlinkage void do_notify_resume(struct pt_regs *regs, long in_syscall)
582582
{
583583
if (test_thread_flag(TIF_SIGPENDING) ||
584584
test_thread_flag(TIF_NOTIFY_SIGNAL))

0 commit comments

Comments
 (0)