diff options
| author | Ivan Kokshaysky <[email protected]> | 2009-03-31 15:23:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-01 08:59:16 -0700 |
| commit | a6209d6d71f2ab8c63cc1587ef65490d83022baf (patch) | |
| tree | 2490d7adf757c9ea00c30fb8f75171d6b8772d3a /scripts/stackusage | |
| parent | a94066992b3050a7bd9a82bf73bf19f6052d2f82 (diff) | |
alpha: xchg/cmpxchg cleanup and fixes
- "_local" versions of xchg/cmpxchg functions duplicate code
of non-local ones (quite a few pages of assembler), except
memory barriers. We can generate these two variants from a
single header file using simple macros;
- convert xchg macro back to inline function using always_inline
attribute;
- use proper argument types for cmpxchg_u8/u16 functions
to fix a problem with negative arguments.
Signed-off-by: Ivan Kokshaysky <[email protected]>
Cc: Richard Henderson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions