diff options
Diffstat (limited to 'sys/ia64/include')
-rw-r--r-- | sys/ia64/include/profile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/ia64/include/profile.h b/sys/ia64/include/profile.h index 6c06e07..9c15d00 100644 --- a/sys/ia64/include/profile.h +++ b/sys/ia64/include/profile.h @@ -37,11 +37,11 @@ typedef unsigned long fptrdiff_t; /* * The following two macros do splhigh and splx respectively. */ -#define MCOUNT_ENTER(s) \n\ - _c = intr_disable() -#define MCOUNT_EXIT(s) \n\ - intr_restore(_c) -#define MCOUNT_DECL(s) register_t c; +#define MCOUNT_ENTER(s) s = intr_disable() +#define MCOUNT_EXIT(s) intr_restore(s) +#define MCOUNT_DECL(s) register_t s; + +_MCOUNT_DECL(uintfptr_t, uintfptr_t); #else /* !_KERNEL */ |