summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/inotail.h b/inotail.h
index f6e90e8..b47e6a4 100644
--- a/inotail.h
+++ b/inotail.h
@@ -24,7 +24,10 @@ struct file_struct {
# define dprintf(fmt, args...)
#endif /* DEBUG */
-/* Taken from linux kernel source tree */
-#define unlikely(x) __builtin_expect(!!(x), 0)
+#ifdef __GNUC__
+# define unlikely(x) __builtin_expect(!!(x), 0) /* Taken from linux kernel source */
+#else
+# define unlikely(x) (x)
+#endif
#endif /* _INOTAIL_H */
id2=68aafc35161dcc9d365a32c2f9f077aedc61754d'>diff)
ACPICA: ACPICA core: Cleanup empty lines at file start and end
Maintenance for source code consistency. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/hwxface.c')