aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2013-10-31 15:17:50 -0500
committerHauke Mehrtens2013-11-07 14:33:52 -0600
commit9ae6b6c18e1cfd1bc4df62def052fb3a2888c4fd (patch)
tree244351abf9527969384a007786182e552bd6b1bb
parentd337aab6cc2b544293e2ab2b369a6236ce0c36b7 (diff)
downloadbackports-9ae6b6c18e1cfd1bc4df62def052fb3a2888c4fd.tar.gz
backports-9ae6b6c18e1cfd1bc4df62def052fb3a2888c4fd.tar.xz
backports-9ae6b6c18e1cfd1bc4df62def052fb3a2888c4fd.zip
backports: do not add debugfs_create_x64() on RHEL 6.4v3.12-1
Upstream commit: a00d7b07a89d1bb0b6c9a51bfec4e53a76940bb3 debugfs_create_x64() is provided by the RHEL 6.4 kernel and should not be added to the build on such a kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/debugfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backport/backport-include/linux/debugfs.h b/backport/backport-include/linux/debugfs.h
index 938eac23..d2e6b387 100644
--- a/backport/backport-include/linux/debugfs.h
+++ b/backport/backport-include/linux/debugfs.h
@@ -16,6 +16,7 @@ static inline void debugfs_remove_recursive(struct dentry *dentry)
16#endif /* < 2.6.27 */ 16#endif /* < 2.6.27 */
17 17
18#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) 18#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
19#if RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(6,4)
19static inline struct dentry *debugfs_create_x64(const char *name, umode_t mode, 20static inline struct dentry *debugfs_create_x64(const char *name, umode_t mode,
20 struct dentry *parent, 21 struct dentry *parent,
21 u64 *value) 22 u64 *value)
@@ -23,5 +24,6 @@ static inline struct dentry *debugfs_create_x64(const char *name, umode_t mode,
23 return debugfs_create_u64(name, mode, parent, value); 24 return debugfs_create_u64(name, mode, parent, value);
24} 25}
25#endif 26#endif
27#endif
26 28
27#endif /* __BACKPORT_LINUX_DEBUGFS_H */ 29#endif /* __BACKPORT_LINUX_DEBUGFS_H */