net/mlx4_core: Fix wrong mask and error flow for the update-qp command
[sfrench/cifs-2.6.git] / include / linux / oprofile.h
index 957877e7a40852566555b497c842442736a56d9f..b2a0f15f11feaf196fb4212791b14f08289c2ad7 100644 (file)
@@ -42,7 +42,6 @@
 #define IBS_FETCH_CODE                 13
 #define IBS_OP_CODE                    14
 
-struct super_block;
 struct dentry;
 struct file_operations;
 struct pt_regs;
@@ -125,22 +124,22 @@ void oprofile_add_trace(unsigned long eip);
  * Create a file of the given name as a child of the given root, with
  * the specified file operations.
  */
-int oprofilefs_create_file(struct super_block * sb, struct dentry * root,
+int oprofilefs_create_file(struct dentry * root,
        char const * name, const struct file_operations * fops);
 
-int oprofilefs_create_file_perm(struct super_block * sb, struct dentry * root,
+int oprofilefs_create_file_perm(struct dentry * root,
        char const * name, const struct file_operations * fops, int perm);
  
 /** Create a file for read/write access to an unsigned long. */
-int oprofilefs_create_ulong(struct super_block * sb, struct dentry * root,
+int oprofilefs_create_ulong(struct dentry * root,
        char const * name, ulong * val);
  
 /** Create a file for read-only access to an unsigned long. */
-int oprofilefs_create_ro_ulong(struct super_block * sb, struct dentry * root,
+int oprofilefs_create_ro_ulong(struct dentry * root,
        char const * name, ulong * val);
  
 /** Create a file for read-only access to an atomic_t. */
-int oprofilefs_create_ro_atomic(struct super_block * sb, struct dentry * root,
+int oprofilefs_create_ro_atomic(struct dentry * root,
        char const * name, atomic_t * val);
  
 /** create a directory */