Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2015 09:18:13 -0700
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-head@freebsd.org,  svn-src-all@freebsd.org
Subject:   Re: svn commit: r285168 - head/sys/powerpc/powerpc
Message-ID:  <CAHSQbTBXUmzHZmRUPnfEBj4XhoRKci7T3%2B%2Bjt4sfajCsqucP0A@mail.gmail.com>
In-Reply-To: <201507051530.t65FUGQn085794@repo.freebsd.org>
References:  <201507051530.t65FUGQn085794@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 5, 2015 08:30, "Bjoern A. Zeeb" <bz@freebsd.org> wrote:
>
> Author: bz
> Date: Sun Jul  5 15:30:16 2015
> New Revision: 285168
> URL: https://svnweb.freebsd.org/changeset/base/285168
>
> Log:
>   Fix GENERIC64 and LINT64 powerpc builds after r285144.
>
> Modified:
>   head/sys/powerpc/powerpc/trap.c
>
> Modified: head/sys/powerpc/powerpc/trap.c
>
==============================================================================
> --- head/sys/powerpc/powerpc/trap.c     Sun Jul  5 14:24:35 2015
(r285167)
> +++ head/sys/powerpc/powerpc/trap.c     Sun Jul  5 15:30:16 2015
(r285168)
> @@ -426,10 +426,10 @@ printtrap(u_int vector, struct trapframe
>                 ver = mfpvr() >> 16;
>  #if defined(AIM)
>                 if (MPC745X_P(ver))
> -                       printf("    msssr0         = 0x%x\n",
> +                       printf("    msssr0         = 0x%" PRIxPTR "\n",
>                             mfspr(SPR_MSSSR0));
>  #elif defined(BOOKE)
> -               printf("    mcsr           = 0x%x\n",
> +               printf("    mcsr           = 0x%" PRIxPTR "\n",
>                     mfspr(SPR_MCSR));
>  #endif
>                 break;
>

Sigh, thanks. Since those are 32 bit registers I only tested my 32 bit
compiles.

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTBXUmzHZmRUPnfEBj4XhoRKci7T3%2B%2Bjt4sfajCsqucP0A>