diff options
author | Prakash Surya <[email protected]> | 2012-08-24 10:42:12 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-08-24 15:18:38 -0700 |
commit | 45324c7c419b70397cae31b9f2b90ca0a97c9d77 (patch) | |
tree | 33099e4b128e9d9924d15220d976f54cce7338aa /include/linux | |
parent | 08850eddcb128cbdca584255324d71dfee2ccba9 (diff) |
Add kpreempt_[dis|en]able macros in <sys/disp.h>
To support preempt enabled kernels in ZFS on Linux, there are a couple
places where the ZFS code needs to disable interrupts. This change adds
the Solaris preempt functions and maps them to the equivalent ZFS
functions, allowing the ZFS to make use of them.
Signed-off-by: Prakash Surya <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #98
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions