diff options
| author | ozaki-r <ozaki-r@NetBSD.org> | 2017-11-17 07:37:12 +0000 |
|---|---|---|
| committer | ozaki-r <ozaki-r@NetBSD.org> | 2017-11-17 07:37:12 +0000 |
| commit | a5d1c1f4e6654ec8de99d0a8c7943821d52f5c70 (patch) | |
| tree | fa4c9e5b7c0b66fe6d3416afcb416e303c115b92 /external/bsd/tre/dist/python/tre-python.c | |
| parent | 3d7758ba0d75110ba95efebab14b38c374f18879 (diff) | |
Provide macros for softnet_lock and KERNEL_LOCK hiding NET_MPSAFE switch
It reduces C&P codes such as "#ifndef NET_MPSAFE KERNEL_LOCK(1, NULL); ..."
scattered all over the source code and makes it easy to identify remaining
KERNEL_LOCK and/or softnet_lock that are held even if NET_MPSAFE.
No functional change
Diffstat (limited to 'external/bsd/tre/dist/python/tre-python.c')
0 files changed, 0 insertions, 0 deletions
