Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
abf91420
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
abf91420
编写于
9月 10, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/home/rmk/linux-2.6-arm
上级
0aaaa028
daad5666
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
18 addition
and
26 deletion
+18
-26
arch/arm/Kconfig.debug
arch/arm/Kconfig.debug
+1
-1
arch/arm/common/scoop.c
arch/arm/common/scoop.c
+1
-1
arch/arm/kernel/calls.S
arch/arm/kernel/calls.S
+4
-1
arch/arm/kernel/entry-common.S
arch/arm/kernel/entry-common.S
+4
-0
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/corgi.c
+5
-23
include/asm-arm/unistd.h
include/asm-arm/unistd.h
+3
-0
未找到文件。
arch/arm/Kconfig.debug
浏览文件 @
abf91420
...
...
@@ -53,7 +53,7 @@ config DEBUG_LL
bool "Kernel low-level debugging functions"
depends on DEBUG_KERNEL
help
Say Y here to include definitions of printascii, printch
ar
, printhex
Say Y here to include definitions of printascii, printch, printhex
in the kernel. This is helpful if you are debugging code that
executes before the console is initialized.
...
...
arch/arm/common/scoop.c
浏览文件 @
abf91420
...
...
@@ -91,7 +91,7 @@ EXPORT_SYMBOL(read_scoop_reg);
EXPORT_SYMBOL
(
write_scoop_reg
);
#ifdef CONFIG_PM
static
int
scoop_suspend
(
struct
device
*
dev
,
uint32
_t
state
,
uint32_t
level
)
static
int
scoop_suspend
(
struct
device
*
dev
,
pm_message
_t
state
,
uint32_t
level
)
{
if
(
level
==
SUSPEND_POWER_DOWN
)
{
struct
scoop_dev
*
sdev
=
dev_get_drvdata
(
dev
);
...
...
arch/arm/kernel/calls.S
浏览文件 @
abf91420
...
...
@@ -10,7 +10,7 @@
*
This
file
is
included
twice
in
entry
-
common
.
S
*/
#ifndef NR_syscalls
#define NR_syscalls 32
0
#define NR_syscalls 32
8
#else
__syscall_start
:
...
...
@@ -333,6 +333,9 @@ __syscall_start:
.
long
sys_inotify_init
.
long
sys_inotify_add_watch
.
long
sys_inotify_rm_watch
.
long
sys_mbind_wrapper
/*
320
*/
.
long
sys_get_mempolicy
.
long
sys_set_mempolicy
__syscall_end
:
.
rept
NR_syscalls
-
(
__syscall_end
-
__syscall_start
)
/
4
...
...
arch/arm/kernel/entry-common.S
浏览文件 @
abf91420
...
...
@@ -269,6 +269,10 @@ sys_arm_fadvise64_64_wrapper:
str
r5
,
[
sp
,
#
4
]
@
push
r5
to
stack
b
sys_arm_fadvise64_64
sys_mbind_wrapper
:
str
r5
,
[
sp
,
#
4
]
b
sys_mbind
/*
*
Note
:
off_4k
(
r5
)
is
always
units
of
4
K
.
If
we
can
't do the requested
*
offset
,
we
return
EINVAL
.
...
...
arch/arm/mach-pxa/corgi.c
浏览文件 @
abf91420
...
...
@@ -131,27 +131,12 @@ static struct platform_device corgits_device = {
/*
* MMC/SD Device
*
* The card detect interrupt isn't debounced so we delay it by
HZ/4
* The card detect interrupt isn't debounced so we delay it by
250ms
* to give the card a chance to fully insert/eject.
*/
static
struct
mmc_detect
{
struct
timer_list
detect_timer
;
void
*
devid
;
}
mmc_detect
;
static
struct
pxamci_platform_data
corgi_mci_platform_data
;
static
void
mmc_detect_callback
(
unsigned
long
data
)
{
mmc_detect_change
(
mmc_detect
.
devid
);
}
static
irqreturn_t
corgi_mmc_detect_int
(
int
irq
,
void
*
devid
,
struct
pt_regs
*
regs
)
{
mmc_detect
.
devid
=
devid
;
mod_timer
(
&
mmc_detect
.
detect_timer
,
jiffies
+
HZ
/
4
);
return
IRQ_HANDLED
;
}
static
int
corgi_mci_init
(
struct
device
*
dev
,
irqreturn_t
(
*
unused_detect_int
)(
int
,
void
*
,
struct
pt_regs
*
),
void
*
data
)
static
int
corgi_mci_init
(
struct
device
*
dev
,
irqreturn_t
(
*
corgi_detect_int
)(
int
,
void
*
,
struct
pt_regs
*
),
void
*
data
)
{
int
err
;
...
...
@@ -161,11 +146,9 @@ static int corgi_mci_init(struct device *dev, irqreturn_t (*unused_detect_int)(i
pxa_gpio_mode
(
CORGI_GPIO_nSD_DETECT
|
GPIO_IN
);
pxa_gpio_mode
(
CORGI_GPIO_SD_PWR
|
GPIO_OUT
);
init_timer
(
&
mmc_detect
.
detect_timer
);
mmc_detect
.
detect_timer
.
function
=
mmc_detect_callback
;
mmc_detect
.
detect_timer
.
data
=
(
unsigned
long
)
&
mmc_detect
;
corgi_mci_platform_data
.
detect_delay
=
msecs_to_jiffies
(
250
);
err
=
request_irq
(
CORGI_IRQ_GPIO_nSD_DETECT
,
corgi_
mmc_
detect_int
,
SA_INTERRUPT
,
err
=
request_irq
(
CORGI_IRQ_GPIO_nSD_DETECT
,
corgi_detect_int
,
SA_INTERRUPT
,
"MMC card detect"
,
data
);
if
(
err
)
{
printk
(
KERN_ERR
"corgi_mci_init: MMC/SD: can't request MMC card detect IRQ
\n
"
);
...
...
@@ -198,7 +181,6 @@ static int corgi_mci_get_ro(struct device *dev)
static
void
corgi_mci_exit
(
struct
device
*
dev
,
void
*
data
)
{
free_irq
(
CORGI_IRQ_GPIO_nSD_DETECT
,
data
);
del_timer
(
&
mmc_detect
.
detect_timer
);
}
static
struct
pxamci_platform_data
corgi_mci_platform_data
=
{
...
...
include/asm-arm/unistd.h
浏览文件 @
abf91420
...
...
@@ -355,6 +355,9 @@
#define __NR_inotify_init (__NR_SYSCALL_BASE+316)
#define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)
#define __NR_mbind (__NR_SYSCALL_BASE+319)
#define __NR_get_mempolicy (__NR_SYSCALL_BASE+320)
#define __NR_set_mempolicy (__NR_SYSCALL_BASE+321)
/*
* The following SWIs are ARM private.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录