mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
kernel: update linux 3.3 to 3.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -3189,7 +3189,7 @@
|
||||
/**
|
||||
* enum positive_aop_returns - aop return codes with specific semantics
|
||||
*
|
||||
@@ -1496,6 +1502,11 @@ struct super_block {
|
||||
@@ -1501,6 +1507,11 @@ struct super_block {
|
||||
|
||||
/* Being remounted read-only */
|
||||
int s_readonly_remount;
|
||||
@@ -3201,7 +3201,7 @@
|
||||
};
|
||||
|
||||
/* superblock cache pruning functions */
|
||||
@@ -1653,6 +1664,8 @@ struct inode_operations {
|
||||
@@ -1658,6 +1669,8 @@ struct inode_operations {
|
||||
void (*truncate_range)(struct inode *, loff_t, loff_t);
|
||||
int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start,
|
||||
u64 len);
|
||||
@@ -3210,7 +3210,7 @@
|
||||
} ____cacheline_aligned;
|
||||
|
||||
struct seq_file;
|
||||
@@ -2023,6 +2036,7 @@ extern long do_sys_open(int dfd, const c
|
||||
@@ -2028,6 +2041,7 @@ extern long do_sys_open(int dfd, const c
|
||||
extern struct file *filp_open(const char *, int, umode_t);
|
||||
extern struct file *file_open_root(struct dentry *, struct vfsmount *,
|
||||
const char *, int);
|
||||
|
||||
@@ -54,11 +54,9 @@ Date: Mon Mar 26 00:03:42 2012 +0000
|
||||
|
||||
|
||||
|
||||
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
|
||||
index 159da29..21d7151 100644
|
||||
--- a/drivers/net/ppp/ppp_generic.c
|
||||
+++ b/drivers/net/ppp/ppp_generic.c
|
||||
@@ -968,7 +968,6 @@ ppp_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
@@ -968,7 +968,6 @@ ppp_start_xmit(struct sk_buff *skb, stru
|
||||
proto = npindex_to_proto[npi];
|
||||
put_unaligned_be16(proto, pp);
|
||||
|
||||
|
||||
@@ -34,8 +34,6 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
net/atm/pppoatm.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++-----
|
||||
1 files changed, 85 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/net/atm/pppoatm.c b/net/atm/pppoatm.c
|
||||
index 614d3fc..ce1e59f 100644
|
||||
--- a/net/atm/pppoatm.c
|
||||
+++ b/net/atm/pppoatm.c
|
||||
@@ -62,12 +62,25 @@ struct pppoatm_vcc {
|
||||
@@ -64,7 +62,7 @@ index 614d3fc..ce1e59f 100644
|
||||
* Header used for LLC Encapsulated PPP (4 bytes) followed by the LCP protocol
|
||||
* ID (0xC021) used in autodetection
|
||||
*/
|
||||
@@ -102,16 +115,30 @@ static void pppoatm_wakeup_sender(unsigned long arg)
|
||||
@@ -102,16 +115,30 @@ static void pppoatm_wakeup_sender(unsign
|
||||
static void pppoatm_pop(struct atm_vcc *atmvcc, struct sk_buff *skb)
|
||||
{
|
||||
struct pppoatm_vcc *pvcc = atmvcc_to_pvcc(atmvcc);
|
||||
@@ -154,7 +152,7 @@ index 614d3fc..ce1e59f 100644
|
||||
/*
|
||||
* Called by the ppp_generic.c to send a packet - returns true if packet
|
||||
* was accepted. If we return false, then it's our job to call
|
||||
@@ -207,7 +279,7 @@ static int pppoatm_send(struct ppp_channel *chan, struct sk_buff *skb)
|
||||
@@ -207,7 +279,7 @@ static int pppoatm_send(struct ppp_chann
|
||||
struct sk_buff *n;
|
||||
n = skb_realloc_headroom(skb, LLC_LEN);
|
||||
if (n != NULL &&
|
||||
@@ -163,7 +161,7 @@ index 614d3fc..ce1e59f 100644
|
||||
kfree_skb(n);
|
||||
goto nospace;
|
||||
}
|
||||
@@ -215,12 +287,12 @@ static int pppoatm_send(struct ppp_channel *chan, struct sk_buff *skb)
|
||||
@@ -215,12 +287,12 @@ static int pppoatm_send(struct ppp_chann
|
||||
skb = n;
|
||||
if (skb == NULL)
|
||||
return DROP_PACKET;
|
||||
@@ -178,7 +176,7 @@ index 614d3fc..ce1e59f 100644
|
||||
goto nospace;
|
||||
break;
|
||||
case e_autodetect:
|
||||
@@ -285,6 +357,9 @@ static int pppoatm_assign_vcc(struct atm_vcc *atmvcc, void __user *arg)
|
||||
@@ -285,6 +357,9 @@ static int pppoatm_assign_vcc(struct atm
|
||||
if (pvcc == NULL)
|
||||
return -ENOMEM;
|
||||
pvcc->atmvcc = atmvcc;
|
||||
@@ -188,6 +186,3 @@ index 614d3fc..ce1e59f 100644
|
||||
pvcc->old_push = atmvcc->push;
|
||||
pvcc->old_pop = atmvcc->pop;
|
||||
pvcc->encaps = (enum pppoatm_encaps) be.encaps;
|
||||
--
|
||||
1.7.7.6
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
+ dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK & ~(erase_size - 1);
|
||||
dev->mtd.erasesize = erase_size;
|
||||
dev->mtd.writesize = 1;
|
||||
dev->mtd.type = MTD_RAM;
|
||||
@@ -293,14 +298,17 @@ static struct block2mtd_dev *add_device(
|
||||
dev->mtd.writebufsize = PAGE_SIZE;
|
||||
@@ -294,14 +299,17 @@ static struct block2mtd_dev *add_device(
|
||||
dev->mtd.priv = dev;
|
||||
dev->mtd.owner = THIS_MODULE;
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
return dev;
|
||||
|
||||
devinit_err:
|
||||
@@ -373,9 +381,9 @@ static char block2mtd_paramline[80 + 12]
|
||||
@@ -374,9 +382,9 @@ static char block2mtd_paramline[80 + 12]
|
||||
|
||||
static int block2mtd_setup2(const char *val)
|
||||
{
|
||||
@@ -74,7 +74,7 @@
|
||||
char *name;
|
||||
size_t erase_size = PAGE_SIZE;
|
||||
int i, ret;
|
||||
@@ -386,7 +394,7 @@ static int block2mtd_setup2(const char *
|
||||
@@ -387,7 +395,7 @@ static int block2mtd_setup2(const char *
|
||||
strcpy(str, val);
|
||||
kill_final_newline(str);
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
token[i] = strsep(&str, ",");
|
||||
|
||||
if (str)
|
||||
@@ -405,8 +413,10 @@ static int block2mtd_setup2(const char *
|
||||
@@ -406,8 +414,10 @@ static int block2mtd_setup2(const char *
|
||||
parse_err("illegal erase size");
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -440,7 +450,7 @@ static int block2mtd_setup(const char *v
|
||||
@@ -441,7 +451,7 @@ static int block2mtd_setup(const char *v
|
||||
|
||||
|
||||
module_param_call(block2mtd, block2mtd_setup, NULL, NULL, 0200);
|
||||
|
||||
@@ -281,7 +281,7 @@
|
||||
|
||||
/* Setup the MTD structure */
|
||||
/* make the name contain the block device in */
|
||||
@@ -297,6 +391,7 @@ static struct block2mtd_dev *add_device(
|
||||
@@ -298,6 +392,7 @@ static struct block2mtd_dev *add_device(
|
||||
dev->mtd.read = block2mtd_read;
|
||||
dev->mtd.priv = dev;
|
||||
dev->mtd.owner = THIS_MODULE;
|
||||
|
||||
Reference in New Issue
Block a user