Is there a way (or a useful feature) to find out if interrupts are disabled or not?
You can use the irqs_disabled() function:
irqs_disabled()
#include <linux/irqflags.h> int i = irqs_disabled();
Source: https://habr.com/ru/post/1441792/More articles:jquery determining the total height of all children divs - javascriptreading input from a text file into an array of structures in c - cErrno :: ENOENT when loading an image using Carrierwave and MiniMagick - ruby-on-railsHow to rotate a rectangle drawn on a canvas in Android? - androidMS Access: average and total calculation in one query - databaseThe reference is an external type of enumeration and contains a method - enumsCreate Google Contact β Why isnβt "NAME" inserted into the new contact? - phpHow to localize DatePicker date format based on language defined in regional settings - c #Socket.io client on node.js only works once - node.jsJavaFX: how to set the correct tooltip position? - javafxAll Articles