NetBSD-Bugs archive

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

port-evbmips/59385: PGSHIFT is inconsistently defined on MIPS



>Number:         59385
>Category:       port-evbmips
>Synopsis:       PGSHIFT is inconsistently defined on MIPS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 02 17:40:00 +0000 2025
>Originator:     Jiaxun Yang
>Release:        current
>Organization:
>Environment:
N/A
>Description:
Include of opt_cputype.h is missing from mips_param.h, where PGSHIFT is defined based on ENABLE_MIPS_*KB_PAGE macros. This is causing PGSHIFT to be defined inconsistently between kernel sources.
>How-To-Repeat:
Build and run kernel with ENABLE_MIPS_16KB_PAGE enabled.
>Fix:
Patch: https://github.com/FlyGoat/netbsd-src/commit/8daa4bcbe6357b6c1779d784a8b60a1d652c747c.patch



Home | Main Index | Thread Index | Old Index