diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-29 19:44:40 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-29 19:44:40 +0900 |
commit | 091db04559a62a00769553c9120623c2f6bc8b4d (patch) | |
tree | f572e29fdab363a70efdd6d26680143c21e2868e /arch/sh | |
parent | 88856d67cf6b787447889915bafd541be20b8630 (diff) | |
download | op-kernel-dev-091db04559a62a00769553c9120623c2f6bc8b4d.zip op-kernel-dev-091db04559a62a00769553c9120623c2f6bc8b4d.tar.gz |
sh: Fix up signal_64 cast warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/signal_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 0582ae4..ce3e851 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c @@ -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. */ @@ -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); |