diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-07 12:50:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-07 12:50:15 +0000 |
commit | a4329ad3cc5a716bc25ea46f78ad52f6ca4d6073 (patch) | |
tree | b1bd865ddc103600da0e66dbdaf6233a0ae3dd96 /package/madwifi/patches/453-procps.patch | |
parent | 5df4ff29731270d24a8ddd67fefcbc630e85ce3d (diff) | |
download | upstream-a4329ad3cc5a716bc25ea46f78ad52f6ca4d6073.tar.gz upstream-a4329ad3cc5a716bc25ea46f78ad52f6ca4d6073.tar.bz2 upstream-a4329ad3cc5a716bc25ea46f78ad52f6ca4d6073.zip |
move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/453-procps.patch')
-rw-r--r-- | package/madwifi/patches/453-procps.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/package/madwifi/patches/453-procps.patch b/package/madwifi/patches/453-procps.patch deleted file mode 100644 index 5a5633b1ca..0000000000 --- a/package/madwifi/patches/453-procps.patch +++ /dev/null @@ -1,55 +0,0 @@ ---- a/net80211/ieee80211_linux.h -+++ b/net80211/ieee80211_linux.h -@@ -640,12 +640,24 @@ static __inline unsigned long msecs_to_j - void __user *buffer, size_t *lenp) - #define IEEE80211_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ - proc_dointvec(ctl, write, filp, buffer, lenp) --#else -+#define IEEE80211_SYSCTL_PROC_DOSTRING(ctl, write, filp, buffer, lenp, ppos) \ -+ proc_dostring(ctl, write, filp, buffer, lenp) -+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - #define IEEE80211_SYSCTL_DECL(f, ctl, write, filp, buffer, lenp, ppos) \ - f(ctl_table *ctl, int write, struct file *filp, \ - void __user *buffer, size_t *lenp, loff_t *ppos) - #define IEEE80211_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ - proc_dointvec(ctl, write, filp, buffer, lenp, ppos) -+#define IEEE80211_SYSCTL_PROC_DOSTRING(ctl, write, filp, buffer, lenp, ppos) \ -+ proc_dostring(ctl, write, filp, buffer, lenp, ppos) -+#else /* Linux 2.6.32+ */ -+#define IEEE80211_SYSCTL_DECL(f, ctl, write, filp, buffer, lenp, ppos) \ -+ f(ctl_table *ctl, int write, \ -+ void __user *buffer, size_t *lenp, loff_t *ppos) -+#define IEEE80211_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ -+ proc_dointvec(ctl, write, buffer, lenp, ppos) -+#define IEEE80211_SYSCTL_PROC_DOSTRING(ctl, write, filp, buffer, lenp, ppos) \ -+ proc_dostring(ctl, write, buffer, lenp, ppos) - #endif - - void ieee80211_virtfs_latevattach(struct ieee80211vap *); ---- a/ath/if_athvar.h -+++ b/ath/if_athvar.h -@@ -173,14 +173,22 @@ static inline struct net_device *_alloc_ - proc_dointvec(ctl, write, filp, buffer, lenp) - #define ATH_SYSCTL_PROC_DOSTRING(ctl, write, filp, buffer, lenp, ppos) \ - proc_dostring(ctl, write, filp, buffer, lenp) --#else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,8) */ -+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - #define ATH_SYSCTL_DECL(f, ctl, write, filp, buffer, lenp, ppos) \ - f(ctl_table *ctl, int write, struct file *filp, \ - void __user *buffer, size_t *lenp, loff_t *ppos) - #define ATH_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ - proc_dointvec(ctl, write, filp, buffer, lenp, ppos) -+#define ATH_SYSCTL_PROC_DOSTRING(ctl, write, filp, buffer, lenp, ppos) \ -+ proc_dostring(ctl, write, filp, buffer, lenp, ppos) -+#else /* Linux 2.6.32+ */ -+#define ATH_SYSCTL_DECL(f, ctl, write, filp, buffer, lenp, ppos) \ -+ f(ctl_table *ctl, int write, \ -+ void __user *buffer, size_t *lenp, loff_t *ppos) -+#define ATH_SYSCTL_PROC_DOINTVEC(ctl, write, filp, buffer, lenp, ppos) \ -+ proc_dointvec(ctl, write, buffer, lenp, ppos) - #define ATH_SYSCTL_PROC_DOSTRING(ctl, write, filp, buffer, lenp, ppos) \ -- proc_dostring(ctl, write, filp, buffer, lenp, ppos) -+ proc_dostring(ctl, write, buffer, lenp, ppos) - #endif - - #define ATH_TIMEOUT 1000 |