Rev 4345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4345 | Rev 4346 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | : [count] "+m" (val->count) |
60 | : [count] "+m" (val->count) |
61 | ); |
61 | ); |
62 | #else |
62 | #else |
63 | asm volatile ( |
63 | asm volatile ( |
64 | "decl %[count]\n" |
64 | "decl %[count]\n" |
65 | : "+m" (val->count) |
65 | : [count] "+m" (val->count) |
66 | ); |
66 | ); |
67 | #endif /* CONFIG_SMP */ |
67 | #endif /* CONFIG_SMP */ |
68 | } |
68 | } |
69 | 69 | ||
70 | static inline long atomic_postinc(atomic_t *val) |
70 | static inline long atomic_postinc(atomic_t *val) |