summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powerpc
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-02-07 08:47:15 +0000
committerkib <kib@FreeBSD.org>2015-02-07 08:47:15 +0000
commit9dc38ea5dcf15da6e80250c0018fce6495e579f3 (patch)
tree17a888d04faa59609a799c86f005532e1b81fc0f /sys/powerpc/powerpc
parent834093cd4831fa6a41e4935603d1a85783f0f359 (diff)
downloadFreeBSD-src-9dc38ea5dcf15da6e80250c0018fce6495e579f3.zip
FreeBSD-src-9dc38ea5dcf15da6e80250c0018fce6495e579f3.tar.gz
MFC r278001:
Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as const.
Diffstat (limited to 'sys/powerpc/powerpc')
-rw-r--r--sys/powerpc/powerpc/exec_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/powerpc/exec_machdep.c b/sys/powerpc/powerpc/exec_machdep.c
index cc639fc..691cf2d 100644
--- a/sys/powerpc/powerpc/exec_machdep.c
+++ b/sys/powerpc/powerpc/exec_machdep.c
@@ -442,7 +442,7 @@ get_mcontext(struct thread *td, mcontext_t *mcp, int flags)
}
int
-set_mcontext(struct thread *td, const mcontext_t *mcp)
+set_mcontext(struct thread *td, mcontext_t *mcp)
{
struct pcb *pcb;
struct trapframe *tf;
@@ -739,7 +739,7 @@ get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags)
}
static int
-set_mcontext32(struct thread *td, const mcontext32_t *mcp)
+set_mcontext32(struct thread *td, mcontext32_t *mcp)
{
mcontext_t mcp64;
int i, error;
OpenPOWER on IntegriCloud