diff options
Diffstat (limited to 'udev_lib.h')
-rw-r--r-- | udev_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/udev_lib.h b/udev_lib.h index 2f1965ea32..e9ff379fc6 100644 --- a/udev_lib.h +++ b/udev_lib.h @@ -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); |