Merge branch 'master'
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
fallback, no routers on link */
|
||||
#define RTF_ADDRCONF 0x00040000 /* addrconf route - RA */
|
||||
#define RTF_PREFIX_RT 0x00080000 /* A prefix only route - RA */
|
||||
#define RTF_ANYCAST 0x00100000 /* Anycast */
|
||||
|
||||
#define RTF_NONEXTHOP 0x00200000 /* route with no nexthop */
|
||||
#define RTF_EXPIRES 0x00400000
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/smp.h> /* cpu_online_map */
|
||||
#include <linux/smp.h>
|
||||
|
||||
#if !defined(CONFIG_ARCH_S390)
|
||||
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
* L. Haag
|
||||
*
|
||||
* $Log: r3964.h,v $
|
||||
* Revision 1.4 2005/12/21 19:54:24 Kurt Huwig <kurt huwig de>
|
||||
* Fixed HZ usage on 2.6 kernels
|
||||
* Removed unnecessary include
|
||||
*
|
||||
* Revision 1.3 2001/03/18 13:02:24 dwmw2
|
||||
* Fix timer usage, use spinlocks properly.
|
||||
*
|
||||
@@ -45,9 +49,11 @@
|
||||
#define __LINUX_N_R3964_H__
|
||||
|
||||
/* line disciplines for r3964 protocol */
|
||||
#include <asm/termios.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/param.h>
|
||||
|
||||
/*
|
||||
* Common ascii handshake characters:
|
||||
*/
|
||||
@@ -58,14 +64,14 @@
|
||||
#define NAK 0x15
|
||||
|
||||
/*
|
||||
* Timeouts (msecs/10 msecs per timer interrupt):
|
||||
* Timeouts (from milliseconds to jiffies)
|
||||
*/
|
||||
|
||||
#define R3964_TO_QVZ 550/10
|
||||
#define R3964_TO_ZVZ 220/10
|
||||
#define R3964_TO_NO_BUF 400/10
|
||||
#define R3964_NO_TX_ROOM 100/10
|
||||
#define R3964_TO_RX_PANIC 4000/10
|
||||
#define R3964_TO_QVZ ((550)*HZ/1000)
|
||||
#define R3964_TO_ZVZ ((220)*HZ/1000)
|
||||
#define R3964_TO_NO_BUF ((400)*HZ/1000)
|
||||
#define R3964_NO_TX_ROOM ((100)*HZ/1000)
|
||||
#define R3964_TO_RX_PANIC ((4000)*HZ/1000)
|
||||
#define R3964_MAX_RETRIES 5
|
||||
|
||||
#endif
|
||||
|
||||
@@ -291,6 +291,7 @@ static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long
|
||||
/*
|
||||
* linux/fs/nfs/inode.c
|
||||
*/
|
||||
extern int nfs_sync_mapping(struct address_space *mapping);
|
||||
extern void nfs_zap_caches(struct inode *);
|
||||
extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *,
|
||||
struct nfs_fattr *);
|
||||
|
||||
@@ -48,6 +48,7 @@ do { \
|
||||
#define preempt_enable() \
|
||||
do { \
|
||||
preempt_enable_no_resched(); \
|
||||
barrier(); \
|
||||
preempt_check_resched(); \
|
||||
} while (0)
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
#include <linux/kref.h>
|
||||
|
||||
/*
|
||||
* Tracks changes to rchan_buf struct
|
||||
* Tracks changes to rchan/rchan_buf structs
|
||||
*/
|
||||
#define RELAYFS_CHANNEL_VERSION 5
|
||||
#define RELAYFS_CHANNEL_VERSION 6
|
||||
|
||||
/*
|
||||
* Per-cpu relay channel buffer
|
||||
@@ -60,6 +60,7 @@ struct rchan
|
||||
struct rchan_callbacks *cb; /* client callbacks */
|
||||
struct kref kref; /* channel refcount */
|
||||
void *private_data; /* for user-defined data */
|
||||
size_t last_toobig; /* tried to log event > subbuf size */
|
||||
struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */
|
||||
};
|
||||
|
||||
|
||||
@@ -866,6 +866,7 @@ enum rtnetlink_groups {
|
||||
#define RTNLGRP_IPV4_MROUTE RTNLGRP_IPV4_MROUTE
|
||||
RTNLGRP_IPV4_ROUTE,
|
||||
#define RTNLGRP_IPV4_ROUTE RTNLGRP_IPV4_ROUTE
|
||||
RTNLGRP_NOP1,
|
||||
RTNLGRP_IPV6_IFADDR,
|
||||
#define RTNLGRP_IPV6_IFADDR RTNLGRP_IPV6_IFADDR
|
||||
RTNLGRP_IPV6_MROUTE,
|
||||
@@ -876,8 +877,11 @@ enum rtnetlink_groups {
|
||||
#define RTNLGRP_IPV6_IFINFO RTNLGRP_IPV6_IFINFO
|
||||
RTNLGRP_DECnet_IFADDR,
|
||||
#define RTNLGRP_DECnet_IFADDR RTNLGRP_DECnet_IFADDR
|
||||
RTNLGRP_NOP2,
|
||||
RTNLGRP_DECnet_ROUTE,
|
||||
#define RTNLGRP_DECnet_ROUTE RTNLGRP_DECnet_ROUTE
|
||||
RTNLGRP_NOP3,
|
||||
RTNLGRP_NOP4,
|
||||
RTNLGRP_IPV6_PREFIX,
|
||||
#define RTNLGRP_IPV6_PREFIX RTNLGRP_IPV6_PREFIX
|
||||
__RTNLGRP_MAX
|
||||
|
||||
Reference in New Issue
Block a user