diff options
author | David Smith <dsmith@redhat.com> | 2009-02-20 13:11:34 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-02-20 13:11:34 -0600 |
commit | 9ac44b1d057caacc72e980bd83876b77c42b2959 (patch) | |
tree | 4de84baa2283b9f6f2d021943930cb3bc0107855 | |
parent | e1d8e378730ccff8491104575913a4943e9427a8 (diff) | |
download | systemtap-steved-9ac44b1d057caacc72e980bd83876b77c42b2959.tar.gz systemtap-steved-9ac44b1d057caacc72e980bd83876b77c42b2959.tar.xz systemtap-steved-9ac44b1d057caacc72e980bd83876b77c42b2959.zip |
Better <linux/debugfs.h> header file inclusion.
2009-02-20 David Smith <dsmith@redhat.com>
* debugfs.c: Added inclusion of linux/debugfs.h.
* relayfs.h: Removed inclusion of linux/debugfs.h.
-rw-r--r-- | runtime/transport/debugfs.c | 2 | ||||
-rw-r--r-- | runtime/transport/relayfs.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/runtime/transport/debugfs.c b/runtime/transport/debugfs.c index dc651a56..85ee604d 100644 --- a/runtime/transport/debugfs.c +++ b/runtime/transport/debugfs.c @@ -9,6 +9,8 @@ * later version. */ +#include <linux/debugfs.h> + #define STP_DEFAULT_BUFFERS 50 inline static int _stp_ctl_write_fs(int type, void *data, unsigned len) diff --git a/runtime/transport/relayfs.h b/runtime/transport/relayfs.h index c33e9b08..e984b05b 100644 --- a/runtime/transport/relayfs.h +++ b/runtime/transport/relayfs.h @@ -9,7 +9,6 @@ # include <linux/relayfs_fs.h> #elif defined (CONFIG_RELAY) # include <linux/relay.h> -# include <linux/debugfs.h> #else # undef STP_RELAYFS #endif |