]> err.no Git - linux-2.6/commitdiff
include/asm-x86/posix_types_32.h: checkpatch cleanups - formatting only
authorJoe Perches <joe@perches.com>
Sun, 23 Mar 2008 08:03:13 +0000 (01:03 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:26 +0000 (17:41 +0200)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/posix_types_32.h

index 015e539cdef5536f639a08bfe281cfa207075562..b031efda37ec047417dc22b6c7b61ffd7c095b19 100644 (file)
@@ -45,32 +45,39 @@ typedef struct {
 #if defined(__KERNEL__)
 
 #undef __FD_SET
-#define __FD_SET(fd,fdsetp) \
-               __asm__ __volatile__("btsl %1,%0": \
-                       "+m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd)))
+#define __FD_SET(fd,fdsetp)                                    \
+       asm volatile("btsl %1,%0":                              \
+                    "+m" (*(__kernel_fd_set *)(fdsetp))        \
+                    : "r" ((int)(fd)))
 
 #undef __FD_CLR
-#define __FD_CLR(fd,fdsetp) \
-               __asm__ __volatile__("btrl %1,%0": \
-                       "+m" (*(__kernel_fd_set *) (fdsetp)):"r" ((int) (fd)))
+#define __FD_CLR(fd,fdsetp)                                    \
+       asm volatile("btrl %1,%0":                              \
+                    "+m" (*(__kernel_fd_set *)(fdsetp))        \
+                    : "r" ((int) (fd)))
 
 #undef __FD_ISSET
-#define __FD_ISSET(fd,fdsetp) (__extension__ ({ \
-               unsigned char __result; \
-               __asm__ __volatile__("btl %1,%2 ; setb %0" \
-                       :"=q" (__result) :"r" ((int) (fd)), \
-                       "m" (*(__kernel_fd_set *) (fdsetp))); \
-               __result; }))
+#define __FD_ISSET(fd,fdsetp)                                  \
+       (__extension__                                          \
+        ({                                                     \
+        unsigned char __result;                                \
+        asm volatile("btl %1,%2 ; setb %0"                     \
+                     : "=q" (__result)                         \
+                     : "r" ((int)(fd)),                        \
+                       "m" (*(__kernel_fd_set *)(fdsetp)));    \
+        __result;                                              \
+}))
 
 #undef __FD_ZERO
-#define __FD_ZERO(fdsetp) \
-do { \
-       int __d0, __d1; \
-       __asm__ __volatile__("cld ; rep ; stosl" \
-                       :"=m" (*(__kernel_fd_set *) (fdsetp)), \
-                         "=&c" (__d0), "=&D" (__d1) \
-                       :"a" (0), "1" (__FDSET_LONGS), \
-                       "2" ((__kernel_fd_set *) (fdsetp)) : "memory"); \
+#define __FD_ZERO(fdsetp)                                      \
+do {                                                           \
+       int __d0, __d1;                                         \
+       asm volatile("cld ; rep ; stosl"                        \
+                    : "=m" (*(__kernel_fd_set *)(fdsetp)),     \
+                      "=&c" (__d0), "=&D" (__d1)               \
+                    : "a" (0), "1" (__FDSET_LONGS),            \
+                      "2" ((__kernel_fd_set *)(fdsetp))        \
+                    : "memory");                               \
 } while (0)
 
 #endif /* defined(__KERNEL__) */