NetBSD-Bugs archive

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

port-mips/44899: inconsistent ifdef in mips/pmap.c



>Number:         44899
>Category:       port-mips
>Synopsis:       inconsistent ifdef in mips/pmap.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 23 12:40:00 +0000 2011
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.99.48
>Organization:
>Environment:
System: NetBSD 5.99.48
Architecture: mips
Machine: any
>Description:
sys/arch/mips/mips/pmap.c has the following #define and #ifdef:
---
#ifdef MULTIPROCESSOR
#define PMAP_NO_PV_UNCACHED
#endif
 :
#if defined(MIPS3_PLUS) && !defined(MIPS3_NO_PV_UNCACHED)       /* XXX mmu XXX 
*/
 :
#if defined(MIPS3_NO_PV_UNCACHED) || defined(MULTIPROCESSOR)
 :
#if defined(MIPS3_NO_PV_UNCACHED)
 :
#ifndef MIPS3_NO_PV_UNCACHED
 :

No reference of PMAP_NO_PV_UNCACHED.

>How-To-Repeat:
Code inspection. (not sure if MULTIPROCESSOR works or not)

>Fix:



Home | Main Index | Thread Index | Old Index