summaryrefslogtreecommitdiffstats
path: root/fs/udf/udfend.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/udfend.h')
-rw-r--r--fs/udf/udfend.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/udf/udfend.h b/fs/udf/udfend.h
index 906a619bc..031f5b507 100644
--- a/fs/udf/udfend.h
+++ b/fs/udf/udfend.h
@@ -42,13 +42,13 @@
#define cpu_to_le32(x) (x)
#define cpu_to_le64(x) (x)
-#endif
+#endif /* __BYTE_ORDER == 0 */
-#endif
+#else /* __KERNEL__ */
-#ifdef __KERNEL__
#include <linux/string.h>
-#endif
+
+#endif /* ! __KERNEL__ */
static inline lb_addr lelb_to_cpu(lb_addr in)
{