chiark / gitweb /
[PATCH] close the syslog
[elogind.git] / udev_lib.h
index 2f1965ea32ac4f5743879f09260544d238634c0a..e9ff379fc6665fda1a5e70f2d60808882f09f458 100644 (file)
@@ -65,6 +65,15 @@ do { \
            pos = pos + len + strspn(pos, separator), len = strcspn(pos, separator)) \
                if (len > 0)
 
+#ifdef asmlinkage
+# undef asmlinkage
+#endif
+#ifdef __i386__
+# define asmlinkage    __attribute__((regparm(0)))
+#endif
+#ifndef asmlinkage
+# define asmlinkage    /* nothing */
+#endif
 
 extern char *get_action(void);
 extern char *get_devpath(void);