mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 00:44:59 +03:00
Some kernels require that we include the 'linux/irqflags.h' header for the SPL_AC_3ARGS_ON_EACH_CPU check. Otherwise, the functions local_irq_enable()/local_irq_disable() will not be defined and the prototype will be misdetected as the four argument version. This change actually include 'linux/interrupt.h' which in turn includes 'linux/irqflags.h' to be as generic as possible. Additionally, passing NULL as the function can result in a gcc error because the on_each_cpu() macro executes it unconditionally. To make the test more robust we pass the dummy function on_each_cpu_func(). Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #204 |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| arch.am | ||
| config.awk | ||
| deb.am | ||
| rpm.am | ||
| Rules.am | ||
| spl-build.m4 | ||
| spl-meta.m4 | ||
| tgz.am | ||