I'm trying to create a C program whose goal is to enable_irq and disable_irq.I have include linux/irq.h like that
#include <linux/irq.h>
And when I compile : gcc myProgram.c -o myExecutable
I have the error : fatal error : linux/irq.h no file or folder find
What package I have to install? I'm on archLinux.
You cannot disable IRQs from a userspace application. Those functions are only available within the kernel.