Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 20:27:56 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Marcel Moolenaar <marcel@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r224551 - head/sys/powerpc/booke
Message-ID:  <CAJ-FndBveJvrs4GpR6taRsfgDadVPMqHzFTVc%2B3MLbYwhmAAYQ@mail.gmail.com>
In-Reply-To: <201107311826.p6VIQlFa058340@svn.freebsd.org>
References:  <201107311826.p6VIQlFa058340@svn.freebsd.org>

index | next in thread | previous in thread | raw e-mail

I actually submitted a better fix which does use .int.
I wasn't sure BETA1 was out, so I'm going to send a formal request now.

Attilio

2011/7/31 Marcel Moolenaar <marcel@freebsd.org>:
> Author: marcel
> Date: Sun Jul 31 18:26:47 2011
> New Revision: 224551
> URL: http://svn.freebsd.org/changeset/base/224551
>
> Log:
>  Fix r224187: .word defines a 16-bit object and size_t is defined as
>  a 32-bit intergal. Use .long to define sintrcnt and sintrname.
>
>  Approved by:  re (blanket)
>
> Modified:
>  head/sys/powerpc/booke/locore.S
>
> Modified: head/sys/powerpc/booke/locore.S
> ==============================================================================
> --- head/sys/powerpc/booke/locore.S     Sun Jul 31 16:16:25 2011        (r224550)
> +++ head/sys/powerpc/booke/locore.S     Sun Jul 31 18:26:47 2011        (r224551)
> @@ -790,12 +790,12 @@ GLOBAL(kernload)
>  GLOBAL(intrnames)
>        .space  INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
>  GLOBAL(sintrnames)
> -       .word   INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
> +       .long   INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
>
>        .align 4
>  GLOBAL(intrcnt)
>        .space  INTRCNT_COUNT * 4 * 2
>  GLOBAL(sintrcnt)
> -       .word   INTRCNT_COUNT * 4 * 2
> +       .long   INTRCNT_COUNT * 4 * 2
>
>  #include <powerpc/booke/trap_subr.S>
>



-- 
Peace can only be achieved by understanding - A. Einstein


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndBveJvrs4GpR6taRsfgDadVPMqHzFTVc%2B3MLbYwhmAAYQ>