diff options
author | David Plauger <Dave.Plauger@Sun.COM> | 2008-12-08 18:24:52 -0800 |
---|---|---|
committer | David Plauger <Dave.Plauger@Sun.COM> | 2008-12-08 18:24:52 -0800 |
commit | eb4462ac197c9f36b7914ce628040433e1278f30 (patch) | |
tree | a128621d88d98965ac2485a3ae2ce14d4057352e /usr/src/uts/common/syscall/poll.c | |
parent | 7d82f0f819f2fde1c321b8ac4ff15e494c5eb4b1 (diff) | |
download | illumos-gate-eb4462ac197c9f36b7914ce628040433e1278f30.tar.gz |
6555476 pcacheset_cmp is inefficient (fix gcc build)
Diffstat (limited to 'usr/src/uts/common/syscall/poll.c')
-rw-r--r-- | usr/src/uts/common/syscall/poll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/syscall/poll.c b/usr/src/uts/common/syscall/poll.c index 86a44d7c09..26dff3c39b 100644 --- a/usr/src/uts/common/syscall/poll.c +++ b/usr/src/uts/common/syscall/poll.c @@ -54,6 +54,7 @@ #include <sys/rctl.h> #include <sys/port_impl.h> #include <sys/schedctl.h> +#include <sys/cpu.h> #define NPHLOCKS 64 /* Number of locks; must be power of 2 */ #define PHLOCKADDR(php) &plocks[(((uintptr_t)(php)) >> 8) & (NPHLOCKS - 1)] |