NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-alpha/48488: pmap.h modify cause Kernel Panic on NetBSD/alpha current version.



On Jan 1, 2014, at 8:20 AM, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> 
wrote:

> PMAP_SIZEOF() is defined as:
> http://nxr.netbsd.org/xref/src/sys/arch/alpha/include/pmap.h?r=1.77#148
> ---
>     152 #define       PMAP_SIZEOF(x)                                          
>         \
>     153       (ALIGN(sizeof(struct pmap) +                                    
> \
>     154              (sizeof(struct pmap_asn_info) * ((x) - 1))))
> 
> ---

The problem is the " - 1" was never removed from that macro.  Which
I have since fixed.


Home | Main Index | Thread Index | Old Index