Files
mirror_zfs/include/sys
youzhongyang ab6d9bd89a Make sure avl_tree.avl_pad is not in kernel module (#16280)
The commit b192a2c (Remove avl_size field from struct avl_tree) uses a
def _KERNEL to decide to include avl_pad or not, but this _KERNEL is
defined in sys/sysmacros.h. If avl.h and sysmacros.h are not included
in the right order, it can cause a headache when working on a zfs
related kernel module.

Add sysmacros.h in avl_impl.h to fix. sysmacros.h is also removed
from spa.h as it's reduntant.

Signed-off-by: Youzhong Yang <yyang@mathworks.com>
Co-authored-by: Youzhong Yang <yyang@mathworks.com>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
2024-07-17 13:54:11 -07:00
..
2024-05-31 15:13:39 -07:00
2024-02-08 09:19:52 -08:00
2022-05-10 10:18:51 -07:00
2022-05-25 09:18:49 -07:00
2024-03-25 16:50:35 -07:00
2021-06-07 09:02:47 -07:00
2023-10-30 16:56:04 -07:00
2023-10-30 16:56:04 -07:00
2023-01-10 13:39:22 -08:00
2023-12-15 09:51:41 -08:00
2024-02-26 12:24:22 -08:00
2023-10-24 11:00:07 -07:00
2023-03-14 15:25:50 -07:00
2023-05-09 09:03:10 -07:00
2017-10-11 16:54:48 -04:00
2023-09-01 18:00:30 -07:00
2024-04-09 16:23:19 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2024-05-31 15:13:30 -07:00
2024-05-31 15:13:16 -07:00
2023-11-08 10:19:41 -08:00
2023-11-08 10:19:41 -08:00
2018-02-08 15:28:18 -08:00
2024-05-29 10:49:11 -07:00
2024-04-22 09:42:38 -07:00
2023-05-25 13:51:53 -07:00
2022-06-29 14:08:54 -07:00
2020-07-03 11:05:50 -07:00
2024-05-01 11:07:20 -07:00
2023-01-05 09:31:55 -08:00