Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116153
b: refs/heads/master
c: 091db04
h: refs/heads/master
i:
  116151: aa53699
v: v3
  • Loading branch information
Paul Mundt committed Sep 29, 2008
1 parent b75f28a commit 851fde0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88856d67cf6b787447889915bafd541be20b8630
refs/heads/master: 091db04559a62a00769553c9120623c2f6bc8b4d
4 changes: 2 additions & 2 deletions trunk/arch/sh/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ static void setup_frame(int sig, struct k_sigaction *ka,
(DEREF_REG_PR | NEFF_MASK) : DEREF_REG_PR;

if (__copy_to_user(frame->retcode,
(unsigned long long)sa_default_restorer & (~1), 16) != 0)
(void *)((unsigned long)sa_default_restorer & (~1)), 16) != 0)
goto give_sigsegv;

/* Cohere the trampoline with the I-cache. */
Expand Down Expand Up @@ -681,7 +681,7 @@ static void setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
(DEREF_REG_PR | NEFF_MASK) : DEREF_REG_PR;

if (__copy_to_user(frame->retcode,
(unsigned long long)sa_default_rt_restorer & (~1), 16) != 0)
(void *)((unsigned long)sa_default_rt_restorer & (~1)), 16) != 0)
goto give_sigsegv;

flush_icache_range(DEREF_REG_PR-1, DEREF_REG_PR-1+15);
Expand Down

0 comments on commit 851fde0

Please sign in to comment.