summaryrefslogtreecommitdiff
path: root/include/asm-alpha
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@fokker2.devel.redhat.com>2002-10-31 04:01:01 -0500
committerJeff Garzik <jgarzik@fokker2.devel.redhat.com>2002-10-31 04:01:01 -0500
commitf32abcc0fbeb494d028c2d918e572453fe397f67 (patch)
tree7dd58446c5831141c63761c82bb4291d3ae2a1c0 /include/asm-alpha
parentb1b782f7b7fced03a6dc51d3e52595fcfc9ac106 (diff)
Fix alpha build.
Diffstat (limited to 'include/asm-alpha')
-rw-r--r--include/asm-alpha/poll.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/include/asm-alpha/poll.h b/include/asm-alpha/poll.h
index 53bf7a31c27e..34f333b762a0 100644
--- a/include/asm-alpha/poll.h
+++ b/include/asm-alpha/poll.h
@@ -1,17 +1,18 @@
#ifndef __ALPHA_POLL_H
#define __ALPHA_POLL_H
-#define POLLIN 1
-#define POLLPRI 2
-#define POLLOUT 4
-#define POLLERR 8
-#define POLLHUP 16
-#define POLLNVAL 32
-#define POLLRDNORM 64
-#define POLLRDBAND 128
-#define POLLWRNORM 256
-#define POLLWRBAND 512
-#define POLLMSG 1024
+#define POLLIN (1 << 0)
+#define POLLPRI (1 << 1)
+#define POLLOUT (1 << 2)
+#define POLLERR (1 << 3)
+#define POLLHUP (1 << 4)
+#define POLLNVAL (1 << 5)
+#define POLLRDNORM (1 << 6)
+#define POLLRDBAND (1 << 7)
+#define POLLWRNORM (1 << 8)
+#define POLLWRBAND (1 << 9)
+#define POLLMSG (1 << 10)
+#define POLLREMOVE (1 << 11)
struct pollfd {
int fd;