|
|
| File: [Development] / linux-2.6-xfs / arch / um / include / longjmp.h (download)
Revision 1.2, Mon May 29 16:35:25 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.17-rc5. Merge of 2.6.x-xfs-melb:linux:26065a by kenmcd. |
#ifndef __UML_LONGJMP_H
#define __UML_LONGJMP_H
#include <setjmp.h>
#include "os.h"
#define UML_LONGJMP(buf, val) do { \
longjmp(*buf, val); \
} while(0)
#define UML_SETJMP(buf, enable) ({ \
int n; \
enable = get_signals(); \
n = setjmp(*buf); \
if(n != 0) \
set_signals(enable); \
n; })
#endif