diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2009-01-25 07:35:10 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2009-01-25 07:35:10 +0000 |
| commit | 0d2cf8374a0fe5984022ef662d1e714f926636c7 (patch) | |
| tree | e4b27f4bfb769907b2543c513b7ba3dcf7e9af12 /sys/kern | |
| parent | 8d9b29f35b461bf59350c413efa0aa9fe150f389 (diff) | |
Notes
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/sched_4bsd.c | 2 | ||||
| -rw-r--r-- | sys/kern/sched_ule.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index cf669c9d2ca4..4fe1c1415f2c 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -82,7 +82,7 @@ dtrace_vtime_switch_func_t dtrace_vtime_switch_func; #endif #define NICE_WEIGHT 1 /* Priorities per nice level. */ -#define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__STRING(UINT_MAX))) +#define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__XSTRING(UINT_MAX))) /* * The schedulable entity that runs a context. diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 3a06223d414a..96f7280473fd 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -86,8 +86,8 @@ dtrace_vtime_switch_func_t dtrace_vtime_switch_func; #define KTR_ULE 0 -#define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__STRING(UINT_MAX))) -#define TDQ_NAME_LEN (sizeof("sched lock ") + sizeof(__STRING(MAXCPU))) +#define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__XSTRING(UINT_MAX))) +#define TDQ_NAME_LEN (sizeof("sched lock ") + sizeof(__XSTRING(MAXCPU))) #define TDQ_LOADNAME_LEN (PCPU_NAME_LEN + sizeof(" load")) /* |
