]> sourceware.org Git - systemtap.git/commitdiff
Guard _struct_sigaction32_u with ifdef CONFIG_COMPAT.
authorMark Wielaard <mjw@redhat.com>
Wed, 25 Feb 2009 16:11:51 +0000 (17:11 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 25 Feb 2009 16:11:51 +0000 (17:11 +0100)
* tapset/aux_syscalls.stp (_struct_sigaction_u): Only needed and compiles
  when CONFIG_COMPAT defined.

tapset/aux_syscalls.stp

index 42b2abf85dc0c031c3f147fdf0c9058f546c1070..d2e439033bc1ab11db7625034cc7824c8f94de61 100644 (file)
@@ -1790,6 +1790,7 @@ function _struct_sigaction_u:string(uaddr:long)
 
 function _struct_sigaction32_u:string(uaddr:long)
 %{ /* pure */
+#ifdef CONFIG_COMPAT
 #include <linux/compat.h>
   
   // There seems to be no public cross arch header that defines this.
@@ -1831,4 +1832,5 @@ function _struct_sigaction32_u:string(uaddr:long)
       else
        strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN);
     }
+#endif
 %}
This page took 0.031067 seconds and 5 git commands to generate.