NetBSD-Bugs archive

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

kern/38720: curlwp/curcpu should be functions if _MODULE or _LKM



>Number:         38720
>Category:       kern
>Synopsis:       curlwp/curcpu should be functions if _MODULE or _LKM
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 21 08:10:00 +0000 2008
>Originator:     Andrew Doran
>Release:        4.99.63
>Organization:
The NetBSD Project
>Environment:
n/a
>Description:
If _MODULE or _LKM, curlwp and curcpu() should be full function calls so 
that changes to the layout of cpu_info/lwp don't break module binary
compat. The x86 ports work like this but as far as I know it's still 
likely to be direct reference elsewhere.

>How-To-Repeat:
Code inspection.
>Fix:
See above.



Home | Main Index | Thread Index | Old Index