Bug #1423

UP kernel building broken

Added by sepherosa almost 5 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

UP kernel building is broken:
/usr/src/sys/vfs/hammer/hammer_vnops.c: In function 'hammer_vop_read':
/usr/src/sys/vfs/hammer/hammer_vnops.c:250: error: 'struct thread' has
no member named 'td_mpcount'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
2 errors
*** Error code 2
1 error
*** Error code 2
1 error

History

#1 Updated by corecode almost 5 years ago

Sepherosa Ziehau wrote:
> UP kernel building is broken:
> /usr/src/sys/vfs/hammer/hammer_vnops.c: In function 'hammer_vop_read':
> /usr/src/sys/vfs/hammer/hammer_vnops.c:250: error: 'struct thread' has
> no member named 'td_mpcount'

This keeps happening. Either we make sure that UP also builds before we push changes, or we merge UP and SMP, i.e. remove the compile-time UP optimizations.

cheers
simon

Also available in: Atom PDF