summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@evo.osdl.org>2004-01-15 04:57:30 -0800
committerLinus Torvalds <torvalds@evo.osdl.org>2004-01-15 04:57:30 -0800
commit755fa12bb5387c7866f641504424d146c9b62f58 (patch)
tree2662f6e24010c5fd424a35eb91297323e68bc9bd /include
parent3177b564b376d08046be4edb494fdad27a0de659 (diff)
parent0369ebec5d144d3e1a932397af591d1a87c96098 (diff)
Merge http://lia64.bkbits.net/to-linus-2.5
into evo.osdl.org:/home/torvalds/v2.5/linux
Diffstat (limited to 'include')
-rw-r--r--include/linux/net.h14
-rw-r--r--include/linux/pci_ids.h2
-rw-r--r--include/linux/signal.h1
-rw-r--r--include/net/bluetooth/bluetooth.h2
-rw-r--r--include/net/inet_common.h4
-rw-r--r--include/net/irda/timer.h6
-rw-r--r--include/net/sock.h8
-rw-r--r--include/net/tcp.h4
-rw-r--r--include/net/udp.h2
-rw-r--r--include/scsi/scsi.h2
10 files changed, 23 insertions, 22 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index 6f9a0992e578..859c519eda8d 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -120,9 +120,9 @@ struct proto_ops {
int (*getsockopt)(struct socket *sock, int level,
int optname, char __user *optval, int __user *optlen);
int (*sendmsg) (struct kiocb *iocb, struct socket *sock,
- struct msghdr *m, int total_len);
+ struct msghdr *m, size_t total_len);
int (*recvmsg) (struct kiocb *iocb, struct socket *sock,
- struct msghdr *m, int total_len,
+ struct msghdr *m, size_t total_len,
int flags);
int (*mmap) (struct file *file, struct socket *sock,
struct vm_area_struct * vma);
@@ -151,13 +151,13 @@ extern int sock_create(int family, int type, int proto,
struct socket **res);
extern void sock_release(struct socket *sock);
extern int sock_sendmsg(struct socket *sock, struct msghdr *msg,
- int len);
+ size_t len);
extern int sock_recvmsg(struct socket *sock, struct msghdr *msg,
- int size, int flags);
+ size_t size, int flags);
extern int sock_readv_writev(int type, struct inode *inode,
struct file *file,
const struct iovec *iov, long count,
- long size);
+ size_t size);
extern int sock_map_fd(struct socket *sock);
extern struct socket *sockfd_lookup(int fd, int *err);
#define sockfd_put(sock) fput(sock->file)
@@ -216,9 +216,9 @@ SOCKCALL_WRAP(name, setsockopt, (struct socket *sock, int level, int optname, \
char *optval, int optlen), (sock, level, optname, optval, optlen)) \
SOCKCALL_WRAP(name, getsockopt, (struct socket *sock, int level, int optname, \
char *optval, int *optlen), (sock, level, optname, optval, optlen)) \
-SOCKCALL_WRAP(name, sendmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, int len), \
+SOCKCALL_WRAP(name, sendmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len), \
(iocb, sock, m, len)) \
-SOCKCALL_WRAP(name, recvmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, int len, int flags), \
+SOCKCALL_WRAP(name, recvmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len, int flags), \
(iocb, sock, m, len, flags)) \
SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_area_struct *vma), \
(file, sock, vma)) \
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 34e5bb79396b..3ebce2229e34 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -325,7 +325,7 @@
/* RadeonIGP */
#define PCI_DEVICE_ID_ATI_RS100 0xcab0
#define PCI_DEVICE_ID_ATI_RS200 0xcab2
-#define PCI_DEVICE_ID_ATI_RS200_B 0xcbb3
+#define PCI_DEVICE_ID_ATI_RS200_B 0xcbb2
#define PCI_DEVICE_ID_ATI_RS250 0xcab3
#define PCI_DEVICE_ID_ATI_RS300_100 0x5830
#define PCI_DEVICE_ID_ATI_RS300_133 0x5831
diff --git a/include/linux/signal.h b/include/linux/signal.h
index e051eb0b17db..0e95116b878a 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -207,6 +207,7 @@ static inline void init_sigpending(struct sigpending *sig)
INIT_LIST_HEAD(&sig->list);
}
+extern int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p);
extern long do_sigpending(void __user *, unsigned long);
extern int sigprocmask(int, sigset_t *, sigset_t *);
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 9adfdc255e8f..429847a82f5f 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -129,7 +129,7 @@ int bt_sock_unregister(int proto);
struct sock *bt_sock_alloc(struct socket *sock, int proto, int pi_size, int prio);
void bt_sock_link(struct bt_sock_list *l, struct sock *s);
void bt_sock_unlink(struct bt_sock_list *l, struct sock *s);
-int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, int len, int flags);
+int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags);
uint bt_sock_poll(struct file * file, struct socket *sock, poll_table *wait);
int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo);
diff --git a/include/net/inet_common.h b/include/net/inet_common.h
index 8449a3b5ba22..3b0624e7ba16 100644
--- a/include/net/inet_common.h
+++ b/include/net/inet_common.h
@@ -23,11 +23,11 @@ extern int inet_accept(struct socket *sock,
extern int inet_recvmsg(struct kiocb *iocb,
struct socket *sock,
struct msghdr *ubuf,
- int size, int flags);
+ size_t size, int flags);
extern int inet_sendmsg(struct kiocb *iocb,
struct socket *sock,
struct msghdr *msg,
- int size);
+ size_t size);
extern int inet_shutdown(struct socket *sock, int how);
extern unsigned int inet_poll(struct file * file, struct socket *sock, struct poll_table_struct *wait);
extern int inet_setsockopt(struct socket *sock, int level,
diff --git a/include/net/irda/timer.h b/include/net/irda/timer.h
index 84d339480ddc..739a89d3750d 100644
--- a/include/net/irda/timer.h
+++ b/include/net/irda/timer.h
@@ -40,14 +40,14 @@ struct lsap_cb;
struct lap_cb;
/*
- * Timeout definitions, some defined in IrLAP p. 92
+ * Timeout definitions, some defined in IrLAP 6.13.5 - p. 92
*/
#define POLL_TIMEOUT (450*HZ/1000) /* Must never exceed 500 ms */
#define FINAL_TIMEOUT (500*HZ/1000) /* Must never exceed 500 ms */
/*
- * Normally twice of p-timer. Note 3, IrLAP p. 60 suggests at least twice
- * duration of the P-timer.
+ * Normally twice of p-timer. Note 3, IrLAP 6.3.11.2 - p. 60 suggests
+ * at least twice duration of the P-timer.
*/
#define WD_TIMEOUT (POLL_TIMEOUT*2)
diff --git a/include/net/sock.h b/include/net/sock.h
index 1d85a3e5a3cc..e2dc8c473482 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -418,10 +418,10 @@ struct proto {
int optname, char *optval,
int *option);
int (*sendmsg)(struct kiocb *iocb, struct sock *sk,
- struct msghdr *msg, int len);
+ struct msghdr *msg, size_t len);
int (*recvmsg)(struct kiocb *iocb, struct sock *sk,
struct msghdr *msg,
- int len, int noblock, int flags,
+ size_t len, int noblock, int flags,
int *addr_len);
int (*sendpage)(struct sock *sk, struct page *page,
int offset, size_t size, int flags);
@@ -609,9 +609,9 @@ extern int sock_no_getsockopt(struct socket *, int , int,
extern int sock_no_setsockopt(struct socket *, int, int,
char *, int);
extern int sock_no_sendmsg(struct kiocb *, struct socket *,
- struct msghdr *, int);
+ struct msghdr *, size_t);
extern int sock_no_recvmsg(struct kiocb *, struct socket *,
- struct msghdr *, int, int);
+ struct msghdr *, size_t, int);
extern int sock_no_mmap(struct file *file,
struct socket *sock,
struct vm_area_struct *vma);
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 2bfe64e2104b..aeea9b268f80 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -752,7 +752,7 @@ extern int tcp_v4_remember_stamp(struct sock *sk);
extern int tcp_v4_tw_remember_stamp(struct tcp_tw_bucket *tw);
extern int tcp_sendmsg(struct kiocb *iocb, struct sock *sk,
- struct msghdr *msg, int size);
+ struct msghdr *msg, size_t size);
extern ssize_t tcp_sendpage(struct socket *sock, struct page *page, int offset, size_t size, int flags);
extern int tcp_ioctl(struct sock *sk,
@@ -846,7 +846,7 @@ extern int tcp_setsockopt(struct sock *sk, int level,
extern void tcp_set_keepalive(struct sock *sk, int val);
extern int tcp_recvmsg(struct kiocb *iocb, struct sock *sk,
struct msghdr *msg,
- int len, int nonblock,
+ size_t len, int nonblock,
int flags, int *addr_len);
extern int tcp_listen_start(struct sock *sk);
diff --git a/include/net/udp.h b/include/net/udp.h
index c50078d5912c..12d5d7ef62e8 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -68,7 +68,7 @@ extern int udp_connect(struct sock *sk,
struct sockaddr *usin, int addr_len);
extern int udp_sendmsg(struct kiocb *iocb, struct sock *sk,
- struct msghdr *msg, int len);
+ struct msghdr *msg, size_t len);
extern int udp_rcv(struct sk_buff *skb);
extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 55250d85e2c0..8cbd95d04f3a 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -302,7 +302,7 @@ struct scsi_lun {
#define QUEUED 0x2004
#define SOFT_ERROR 0x2005
#define ADD_TO_MLQUEUE 0x2006
-#define TIMEOUT 0x2007
+#define TIMEOUT_ERROR 0x2007
/*
* Midlevel queue return values.