From 0e357e42f614362b37c0b55a840eb585b04b311c Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 17 Nov 2009 13:50:03 -0600 Subject: Fixed aux_syscalls.stp for RHEL4. * tapset/aux_syscalls.stp: Only define entries for IRQF_* flags if they exist. --- tapset/aux_syscalls.stp | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit