summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-11-17 13:50:03 -0600
committerDavid Smith <dsmith@redhat.com>2009-11-17 13:50:03 -0600
commit0e357e42f614362b37c0b55a840eb585b04b311c (patch)
tree43ef8253a2b32db2138c3ae6f647e9eee1e7064e
parent9fdaa114d043b284dd51d545ee2bfaec6d33857b (diff)
downloadsystemtap-steved-0e357e42f614362b37c0b55a840eb585b04b311c.tar.gz
systemtap-steved-0e357e42f614362b37c0b55a840eb585b04b311c.tar.xz
systemtap-steved-0e357e42f614362b37c0b55a840eb585b04b311c.zip
Fixed aux_syscalls.stp for RHEL4.
* tapset/aux_syscalls.stp: Only define entries for IRQF_* flags if they exist.
-rw-r--r--tapset/aux_syscalls.stp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 7dac038d..6e45e8e1 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -1904,12 +1904,24 @@ function _struct_sigaction32_u:string(uaddr:long)
#define IRQF_ONESHOT 0x00002000
#endif
static const _stp_val_array const _stp_irq_list[] = {
+#ifdef IRQF_DISABLED
V(IRQF_DISABLED),
+#endif
+#ifdef IRQF_SAMPLE_RANDOM
V(IRQF_SAMPLE_RANDOM),
+#endif
+#ifdef IRQF_SHARED
V(IRQF_SHARED),
+#endif
+#ifdef IRQF_PROBE_SHARED
V(IRQF_PROBE_SHARED),
+#endif
+#ifdef IRQF_TIMER
V(IRQF_TIMER),
+#endif
+#ifdef IRQF_PERCPU
V(IRQF_PERCPU),
+#endif
#ifdef IRQF_NOBALANCING
V(IRQF_NOBALANCING),
#endif