git: vkernel64: Reduce <pthread.h> exposure to generic kernel sources.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat Nov 2 15:47:56 PDT 2019


commit eb8c473814bdeeb39f5df96ed6bdc121205947c9
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Nov 2 11:35:26 2019 +0200

    vkernel64: Reduce <pthread.h> exposure to generic kernel sources.
    
     Implement vkernel_yield() wrapper and use it where needed.

Summary of changes:
 sys/kern/kern_spinlock.c                     |  4 ----
 sys/kern/lwkt_ipiq.c                         | 16 ++++++----------
 sys/kern/lwkt_thread.c                       |  6 +-----
 sys/platform/vkernel64/include/thread.h      |  2 ++
 sys/platform/vkernel64/platform/init.c       | 10 ++++++++++
 sys/platform/vkernel64/platform/pmap.c       |  3 +--
 sys/platform/vkernel64/platform/pmap_inval.c |  3 +--
 sys/platform/vkernel64/x86_64/cpu_regs.c     |  1 -
 sys/sys/indefinite2.h                        |  5 +----
 9 files changed, 22 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb8c473814bdeeb39f5df96ed6bdc121205947c9


-- 
DragonFly BSD source repository



More information about the Commits mailing list