summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2007-05-19 13:32:58 +0000
committercognet <cognet@FreeBSD.org>2007-05-19 13:32:58 +0000
commit48f705d2cd71a0882653f0ee8b234dcd0179bbd2 (patch)
treec456b16203d24175368dda4e6f3cc7f8d3c32953 /sys/arm
parentf3ab1245c9904b3d0b136b3eb7b0388509ea99d9 (diff)
downloadFreeBSD-src-48f705d2cd71a0882653f0ee8b234dcd0179bbd2.zip
FreeBSD-src-48f705d2cd71a0882653f0ee8b234dcd0179bbd2.tar.gz
Constify to please gcc 4.2.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
index c1aec6c..3985511 100644
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -547,7 +547,7 @@ int
set_mcontext(struct thread *td, const mcontext_t *mcp)
{
struct trapframe *tf = td->td_frame;
- __greg_t *gr = mcp->__gregs;
+ const __greg_t *gr = mcp->__gregs;
tf->tf_r0 = gr[_REG_R0];
tf->tf_r1 = gr[_REG_R1];
OpenPOWER on IntegriCloud