diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h index d93616625906..bd0f2a486946 100644 --- a/sys/sparc64/include/param.h +++ b/sys/sparc64/include/param.h @@ -124,8 +124,6 @@ #define KSTACK_PAGES 4 /* pages of kernel stack (with pcb) */ #define UAREA_PAGES 1 /* pages of user area */ -#define PANIC_STACK_PAGES 1 - #define KSTACK_GUARD /* compile in kstack guard page */ #define KSTACK_GUARD_PAGES 1 @@ -174,9 +172,9 @@ #define pgtok(x) ((unsigned long)(x) * (PAGE_SIZE / 1024)) -#define ASSERT_EQUAL(x, y) _ASSERT_EQUAL(x, y, __LINE__) -#define _ASSERT_EQUAL(x, y, z) __ASSERT_EQUAL(x, y, z) -#define __ASSERT_EQUAL(x, y, z) typedef char __assert ## z[(x) == (y) ? 1 : -1] +#define CTASSERT(x) _CTASSERT(x, __LINE__) +#define _CTASSERT(x, y) __CTASSERT(x, y) +#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 : -1] #endif /* !_MACHINE_PARAM_H_ */ #endif /* !_NO_NAMESPACE_POLLUTION */