Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
947ca2e9
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
947ca2e9
编写于
6月 04, 2009
作者:
R
Russell King
提交者:
Russell King
6月 04, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-rmk' of
git://git.pengutronix.de/git/imx/linux-2.6
上级
1946d6ef
6b4bfb87
变更
18
展开全部
隐藏空白更改
内联
并排
Showing
18 changed file
with
272 addition
and
116 deletion
+272
-116
Makefile
Makefile
+1
-1
arch/arm/mach-mx2/clock_imx21.c
arch/arm/mach-mx2/clock_imx21.c
+1
-1
arch/arm/mach-mx2/clock_imx27.c
arch/arm/mach-mx2/clock_imx27.c
+1
-1
arch/arm/mach-mx3/clock-imx35.c
arch/arm/mach-mx3/clock-imx35.c
+1
-1
arch/arm/mach-mx3/clock.c
arch/arm/mach-mx3/clock.c
+1
-1
arch/powerpc/configs/pmac32_defconfig
arch/powerpc/configs/pmac32_defconfig
+195
-83
crypto/ahash.c
crypto/ahash.c
+4
-3
drivers/ata/pata_netcell.c
drivers/ata/pata_netcell.c
+12
-1
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+3
-2
drivers/net/forcedeth.c
drivers/net/forcedeth.c
+13
-2
drivers/parport/share.c
drivers/parport/share.c
+10
-3
drivers/serial/imx.c
drivers/serial/imx.c
+2
-0
fs/xfs/linux-2.6/kmem.h
fs/xfs/linux-2.6/kmem.h
+1
-1
fs/xfs/xfs_dfrag.c
fs/xfs/xfs_dfrag.c
+5
-3
fs/xfs/xfs_fsops.c
fs/xfs/xfs_fsops.c
+1
-1
include/linux/parport.h
include/linux/parport.h
+4
-0
net/bluetooth/hci_sysfs.c
net/bluetooth/hci_sysfs.c
+0
-6
net/sched/cls_api.c
net/sched/cls_api.c
+17
-6
未找到文件。
Makefile
浏览文件 @
947ca2e9
VERSION
=
2
PATCHLEVEL
=
6
SUBLEVEL
=
30
EXTRAVERSION
=
-rc
7
EXTRAVERSION
=
-rc
8
NAME
=
Man-Eating Seals of Antiquity
# *DOCUMENTATION*
...
...
arch/arm/mach-mx2/clock_imx21.c
浏览文件 @
947ca2e9
...
...
@@ -890,7 +890,7 @@ static struct clk clko_clk = {
.con_id = n, \
.clk = &c, \
},
static
struct
clk_lookup
lookups
[]
__initdata
=
{
static
struct
clk_lookup
lookups
[]
=
{
/* It's unlikely that any driver wants one of them directly:
_REGISTER_CLOCK(NULL, "ckih", ckih_clk)
_REGISTER_CLOCK(NULL, "ckil", ckil_clk)
...
...
arch/arm/mach-mx2/clock_imx27.c
浏览文件 @
947ca2e9
...
...
@@ -621,7 +621,7 @@ DEFINE_CLOCK1(csi_clk, 0, 0, 0, parent, &csi_clk1, &per4_clk);
.clk = &c, \
},
static
struct
clk_lookup
lookups
[]
__initdata
=
{
static
struct
clk_lookup
lookups
[]
=
{
_REGISTER_CLOCK
(
"imx-uart.0"
,
NULL
,
uart1_clk
)
_REGISTER_CLOCK
(
"imx-uart.1"
,
NULL
,
uart2_clk
)
_REGISTER_CLOCK
(
"imx-uart.2"
,
NULL
,
uart3_clk
)
...
...
arch/arm/mach-mx3/clock-imx35.c
浏览文件 @
947ca2e9
...
...
@@ -404,7 +404,7 @@ DEFINE_CLOCK(gpu2d_clk, 0, CCM_CGR3, 4, NULL, NULL);
.clk = &c, \
},
static
struct
clk_lookup
lookups
[]
__initdata
=
{
static
struct
clk_lookup
lookups
[]
=
{
_REGISTER_CLOCK
(
NULL
,
"asrc"
,
asrc_clk
)
_REGISTER_CLOCK
(
NULL
,
"ata"
,
ata_clk
)
_REGISTER_CLOCK
(
NULL
,
"audmux"
,
audmux_clk
)
...
...
arch/arm/mach-mx3/clock.c
浏览文件 @
947ca2e9
...
...
@@ -516,7 +516,7 @@ DEFINE_CLOCK(ipg_clk, 0, NULL, 0, ipg_get_rate, NULL, &ahb_clk);
.clk = &c, \
},
static
struct
clk_lookup
lookups
[]
__initdata
=
{
static
struct
clk_lookup
lookups
[]
=
{
_REGISTER_CLOCK
(
NULL
,
"emi"
,
emi_clk
)
_REGISTER_CLOCK
(
NULL
,
"cspi"
,
cspi1_clk
)
_REGISTER_CLOCK
(
NULL
,
"cspi"
,
cspi2_clk
)
...
...
arch/powerpc/configs/pmac32_defconfig
浏览文件 @
947ca2e9
此差异已折叠。
点击以展开。
crypto/ahash.c
浏览文件 @
947ca2e9
...
...
@@ -82,10 +82,11 @@ int crypto_hash_walk_done(struct crypto_hash_walk *walk, int err)
if
(
err
)
return
err
;
walk
->
offset
=
0
;
if
(
nbytes
)
if
(
nbytes
)
{
walk
->
offset
=
0
;
walk
->
pg
++
;
return
hash_walk_next
(
walk
);
}
if
(
!
walk
->
total
)
return
0
;
...
...
drivers/ata/pata_netcell.c
浏览文件 @
947ca2e9
...
...
@@ -20,13 +20,24 @@
/* No PIO or DMA methods needed for this device */
static
unsigned
int
netcell_read_id
(
struct
ata_device
*
adev
,
struct
ata_taskfile
*
tf
,
u16
*
id
)
{
unsigned
int
err_mask
=
ata_do_dev_read_id
(
adev
,
tf
,
id
);
/* Firmware forgets to mark words 85-87 valid */
if
(
err_mask
==
0
)
id
[
ATA_ID_CSF_DEFAULT
]
|=
0x0400
;
return
err_mask
;
}
static
struct
scsi_host_template
netcell_sht
=
{
ATA_BMDMA_SHT
(
DRV_NAME
),
};
static
struct
ata_port_operations
netcell_ops
=
{
.
inherits
=
&
ata_bmdma_port_ops
,
.
cable_detect
=
ata_cable_80wire
,
.
cable_detect
=
ata_cable_80wire
,
.
read_id
=
netcell_read_id
,
};
...
...
drivers/net/e1000/e1000_main.c
浏览文件 @
947ca2e9
...
...
@@ -4027,8 +4027,9 @@ static bool e1000_clean_rx_irq(struct e1000_adapter *adapter,
PCI_DMA_FROMDEVICE
);
length
=
le16_to_cpu
(
rx_desc
->
length
);
if
(
unlikely
(
!
(
status
&
E1000_RXD_STAT_EOP
)))
{
/* !EOP means multiple descriptors were used to store a single
* packet, also make sure the frame isn't just CRC only */
if
(
unlikely
(
!
(
status
&
E1000_RXD_STAT_EOP
)
||
(
length
<=
4
)))
{
/* All receives must fit into a single buffer */
E1000_DBG
(
"%s: Receive packet consumed multiple"
" buffers
\n
"
,
netdev
->
name
);
...
...
drivers/net/forcedeth.c
浏览文件 @
947ca2e9
...
...
@@ -897,6 +897,12 @@ enum {
};
static
int
phy_cross
=
NV_CROSSOVER_DETECTION_DISABLED
;
/*
* Power down phy when interface is down (persists through reboot;
* older Linux and other OSes may not power it up again)
*/
static
int
phy_power_down
=
0
;
static
inline
struct
fe_priv
*
get_nvpriv
(
struct
net_device
*
dev
)
{
return
netdev_priv
(
dev
);
...
...
@@ -1485,7 +1491,10 @@ static int phy_init(struct net_device *dev)
/* restart auto negotiation, power down phy */
mii_control
=
mii_rw
(
dev
,
np
->
phyaddr
,
MII_BMCR
,
MII_READ
);
mii_control
|=
(
BMCR_ANRESTART
|
BMCR_ANENABLE
|
BMCR_PDOWN
);
mii_control
|=
(
BMCR_ANRESTART
|
BMCR_ANENABLE
);
if
(
phy_power_down
)
{
mii_control
|=
BMCR_PDOWN
;
}
if
(
mii_rw
(
dev
,
np
->
phyaddr
,
MII_BMCR
,
mii_control
))
{
return
PHY_ERROR
;
}
...
...
@@ -5513,7 +5522,7 @@ static int nv_close(struct net_device *dev)
nv_drain_rxtx
(
dev
);
if
(
np
->
wolenabled
)
{
if
(
np
->
wolenabled
||
!
phy_power_down
)
{
writel
(
NVREG_PFF_ALWAYS
|
NVREG_PFF_MYADDR
,
base
+
NvRegPacketFilterFlags
);
nv_start_rx
(
dev
);
}
else
{
...
...
@@ -6367,6 +6376,8 @@ module_param(dma_64bit, int, 0);
MODULE_PARM_DESC
(
dma_64bit
,
"High DMA is enabled by setting to 1 and disabled by setting to 0."
);
module_param
(
phy_cross
,
int
,
0
);
MODULE_PARM_DESC
(
phy_cross
,
"Phy crossover detection for Realtek 8201 phy is enabled by setting to 1 and disabled by setting to 0."
);
module_param
(
phy_power_down
,
int
,
0
);
MODULE_PARM_DESC
(
phy_power_down
,
"Power down phy and disable link when interface is down (1), or leave phy powered up (0)."
);
MODULE_AUTHOR
(
"Manfred Spraul <manfred@colorfullife.com>"
);
MODULE_DESCRIPTION
(
"Reverse Engineered nForce ethernet driver"
);
...
...
drivers/parport/share.c
浏览文件 @
947ca2e9
...
...
@@ -614,7 +614,10 @@ parport_register_device(struct parport *port, const char *name,
* pardevice fields. -arca
*/
port
->
ops
->
init_state
(
tmp
,
tmp
->
state
);
parport_device_proc_register
(
tmp
);
if
(
!
test_and_set_bit
(
PARPORT_DEVPROC_REGISTERED
,
&
port
->
devflags
))
{
port
->
proc_device
=
tmp
;
parport_device_proc_register
(
tmp
);
}
return
tmp
;
out_free_all:
...
...
@@ -646,10 +649,14 @@ void parport_unregister_device(struct pardevice *dev)
}
#endif
parport_device_proc_unregister
(
dev
);
port
=
dev
->
port
->
physport
;
if
(
port
->
proc_device
==
dev
)
{
port
->
proc_device
=
NULL
;
clear_bit
(
PARPORT_DEVPROC_REGISTERED
,
&
port
->
devflags
);
parport_device_proc_unregister
(
dev
);
}
if
(
port
->
cad
==
dev
)
{
printk
(
KERN_DEBUG
"%s: %s forgot to release port
\n
"
,
port
->
name
,
dev
->
name
);
...
...
drivers/serial/imx.c
浏览文件 @
947ca2e9
...
...
@@ -1031,6 +1031,8 @@ imx_console_setup(struct console *co, char *options)
if
(
co
->
index
==
-
1
||
co
->
index
>=
ARRAY_SIZE
(
imx_ports
))
co
->
index
=
0
;
sport
=
imx_ports
[
co
->
index
];
if
(
sport
==
NULL
)
return
-
ENODEV
;
if
(
options
)
uart_parse_options
(
options
,
&
baud
,
&
parity
,
&
bits
,
&
flow
);
...
...
fs/xfs/linux-2.6/kmem.h
浏览文件 @
947ca2e9
...
...
@@ -103,7 +103,7 @@ extern void *kmem_zone_zalloc(kmem_zone_t *, unsigned int __nocast);
static
inline
int
kmem_shake_allow
(
gfp_t
gfp_mask
)
{
return
(
gfp_mask
&
__GFP_WAIT
)
!=
0
;
return
(
(
gfp_mask
&
__GFP_WAIT
)
&&
(
gfp_mask
&
__GFP_FS
))
;
}
#endif
/* __XFS_SUPPORT_KMEM_H__ */
fs/xfs/xfs_dfrag.c
浏览文件 @
947ca2e9
...
...
@@ -347,13 +347,15 @@ xfs_swap_extents(
error
=
xfs_trans_commit
(
tp
,
XFS_TRANS_SWAPEXT
);
out_unlock:
xfs_iunlock
(
ip
,
XFS_ILOCK_EXCL
|
XFS_IOLOCK_EXCL
);
xfs_iunlock
(
tip
,
XFS_ILOCK_EXCL
|
XFS_IOLOCK_EXCL
);
out:
kmem_free
(
tempifp
);
return
error
;
out_unlock:
xfs_iunlock
(
ip
,
XFS_ILOCK_EXCL
|
XFS_IOLOCK_EXCL
);
xfs_iunlock
(
tip
,
XFS_ILOCK_EXCL
|
XFS_IOLOCK_EXCL
);
goto
out
;
out_trans_cancel:
xfs_trans_cancel
(
tp
,
0
);
goto
out_unlock
;
...
...
fs/xfs/xfs_fsops.c
浏览文件 @
947ca2e9
...
...
@@ -160,7 +160,7 @@ xfs_growfs_data_private(
nagcount
=
new
+
(
nb_mod
!=
0
);
if
(
nb_mod
&&
nb_mod
<
XFS_MIN_AG_BLOCKS
)
{
nagcount
--
;
nb
=
nagcount
*
mp
->
m_sb
.
sb_agblocks
;
nb
=
(
xfs_rfsblock_t
)
nagcount
*
mp
->
m_sb
.
sb_agblocks
;
if
(
nb
<
mp
->
m_sb
.
sb_dblocks
)
return
XFS_ERROR
(
EINVAL
);
}
...
...
include/linux/parport.h
浏览文件 @
947ca2e9
...
...
@@ -324,6 +324,10 @@ struct parport {
int
spintime
;
atomic_t
ref_count
;
unsigned
long
devflags
;
#define PARPORT_DEVPROC_REGISTERED 0
struct
pardevice
*
proc_device
;
/* Currently register proc device */
struct
list_head
full_list
;
struct
parport
*
slaves
[
3
];
};
...
...
net/bluetooth/hci_sysfs.c
浏览文件 @
947ca2e9
...
...
@@ -90,9 +90,6 @@ static void add_conn(struct work_struct *work)
struct
hci_conn
*
conn
=
container_of
(
work
,
struct
hci_conn
,
work_add
);
struct
hci_dev
*
hdev
=
conn
->
hdev
;
/* ensure previous del is complete */
flush_work
(
&
conn
->
work_del
);
dev_set_name
(
&
conn
->
dev
,
"%s:%d"
,
hdev
->
name
,
conn
->
handle
);
if
(
device_add
(
&
conn
->
dev
)
<
0
)
{
...
...
@@ -118,9 +115,6 @@ static void del_conn(struct work_struct *work)
struct
hci_conn
*
conn
=
container_of
(
work
,
struct
hci_conn
,
work_del
);
struct
hci_dev
*
hdev
=
conn
->
hdev
;
/* ensure previous add is complete */
flush_work
(
&
conn
->
work_add
);
if
(
!
device_is_registered
(
&
conn
->
dev
))
return
;
...
...
net/sched/cls_api.c
浏览文件 @
947ca2e9
...
...
@@ -135,6 +135,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg)
unsigned
long
cl
;
unsigned
long
fh
;
int
err
;
int
tp_created
=
0
;
if
(
net
!=
&
init_net
)
return
-
EINVAL
;
...
...
@@ -266,10 +267,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg)
goto
errout
;
}
spin_lock_bh
(
root_lock
);
tp
->
next
=
*
back
;
*
back
=
tp
;
spin_unlock_bh
(
root_lock
);
tp_created
=
1
;
}
else
if
(
tca
[
TCA_KIND
]
&&
nla_strcmp
(
tca
[
TCA_KIND
],
tp
->
ops
->
kind
))
goto
errout
;
...
...
@@ -296,8 +294,11 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg)
switch
(
n
->
nlmsg_type
)
{
case
RTM_NEWTFILTER
:
err
=
-
EEXIST
;
if
(
n
->
nlmsg_flags
&
NLM_F_EXCL
)
if
(
n
->
nlmsg_flags
&
NLM_F_EXCL
)
{
if
(
tp_created
)
tcf_destroy
(
tp
);
goto
errout
;
}
break
;
case
RTM_DELTFILTER
:
err
=
tp
->
ops
->
delete
(
tp
,
fh
);
...
...
@@ -314,8 +315,18 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg)
}
err
=
tp
->
ops
->
change
(
tp
,
cl
,
t
->
tcm_handle
,
tca
,
&
fh
);
if
(
err
==
0
)
if
(
err
==
0
)
{
if
(
tp_created
)
{
spin_lock_bh
(
root_lock
);
tp
->
next
=
*
back
;
*
back
=
tp
;
spin_unlock_bh
(
root_lock
);
}
tfilter_notify
(
skb
,
n
,
tp
,
fh
,
RTM_NEWTFILTER
);
}
else
{
if
(
tp_created
)
tcf_destroy
(
tp
);
}
errout:
if
(
cl
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录