[xtensa-cvscommit] linux/include/asm-xtensa sysxtensa.h,1.1.1.1,1.2
Brought to you by:
zankel
|
From: <joe...@us...> - 2003-03-21 18:53:40
|
Update of /cvsroot/xtensa/linux/include/asm-xtensa In directory sc8-pr-cvs1:/tmp/cvs-serv5812/include/asm-xtensa Modified Files: sysxtensa.h Log Message: Add kernel support for additional atomic operations that user tasks cannot perform themselves. glibc will use them. Index: sysxtensa.h =================================================================== RCS file: /cvsroot/xtensa/linux/include/asm-xtensa/sysxtensa.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sysxtensa.h 28 Aug 2002 16:11:31 -0000 1.1.1.1 --- sysxtensa.h 21 Mar 2003 18:11:54 -0000 1.2 *************** *** 17,23 **** #define XTENSA_RESERVED 0 /* don't use this */ #define XTENSA_ATOMIC_SET 1 /* atomically set variable */ /* Keep this count last. */ ! #define XTENSA_SYSXTENSA_COUNT 2 /* count of sysxtensa functions */ --- 17,26 ---- #define XTENSA_RESERVED 0 /* don't use this */ #define XTENSA_ATOMIC_SET 1 /* atomically set variable */ + #define XTENSA_ATOMIC_EXG_ADD 2 /* atomically exchange memory and add */ + #define XTENSA_ATOMIC_ADD 3 /* atomically add to memory */ + #define XTENSA_ATOMIC_CMP_SWP 4 /* atomically compare and swap */ /* Keep this count last. */ ! #define XTENSA_SYSXTENSA_COUNT 5 /* count of sysxtensa functions */ |