diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-11-16 10:33:20 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-11-16 10:33:20 +0100 |
commit | 7b76473cbad92366721defee51d93396cb101134 (patch) | |
tree | c72b53cb3c4b7b305107dc0e2d8dcb90ce8782e7 /tapset | |
parent | dc5a95301448c26bc016ebc618a8038e531d85f0 (diff) | |
download | systemtap-steved-7b76473cbad92366721defee51d93396cb101134.tar.gz systemtap-steved-7b76473cbad92366721defee51d93396cb101134.tar.xz systemtap-steved-7b76473cbad92366721defee51d93396cb101134.zip |
Define IRQF_ONESHOT for older kernels.
IRQF_ONESHOT was only introduced in 2.6.32. It doesn't hurt defining it
if it isn't already there. It will just never show up on older kernels.
* tapset/aux_syscalls.stp: Define IRQF_ONESHOT if not already defined.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/aux_syscalls.stp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index d5444723..5435d3aa 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1900,6 +1900,9 @@ function _struct_sigaction32_u:string(uaddr:long) %{ #include <linux/interrupt.h> +#ifndef IRQF_ONESHOT +#define IRQF_ONESHOT 0x00002000 +#endif static const _stp_val_array const _stp_irq_list[] = { V(IRQF_DISABLED), V(IRQF_SAMPLE_RANDOM), |