Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
c5014de8
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看板
提交
c5014de8
编写于
2月 10, 2006
作者:
J
Jeff Garzik
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master'
上级
cc9278ed
5bc159e6
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
53 addition
and
50 deletion
+53
-50
arch/ia64/ia32/ia32_signal.c
arch/ia64/ia32/ia32_signal.c
+1
-0
arch/ia64/kernel/entry.S
arch/ia64/kernel/entry.S
+16
-0
arch/ia64/kernel/fsys.S
arch/ia64/kernel/fsys.S
+3
-26
arch/ia64/kernel/mca_drv.c
arch/ia64/kernel/mca_drv.c
+3
-0
arch/ia64/sn/kernel/io_init.c
arch/ia64/sn/kernel/io_init.c
+4
-4
arch/ia64/sn/kernel/irq.c
arch/ia64/sn/kernel/irq.c
+3
-1
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+1
-1
include/asm-ia64/unistd.h
include/asm-ia64/unistd.h
+16
-1
include/linux/sched.h
include/linux/sched.h
+1
-1
kernel/signal.c
kernel/signal.c
+4
-5
scripts/kconfig/Makefile
scripts/kconfig/Makefile
+1
-11
未找到文件。
arch/ia64/ia32/ia32_signal.c
浏览文件 @
c5014de8
...
...
@@ -515,6 +515,7 @@ sys32_signal (int sig, unsigned int handler)
sigact_set_handler
(
&
new_sa
,
handler
,
0
);
new_sa
.
sa
.
sa_flags
=
SA_ONESHOT
|
SA_NOMASK
;
sigemptyset
(
&
new_sa
.
sa
.
sa_mask
);
ret
=
do_sigaction
(
sig
,
&
new_sa
,
&
old_sa
);
...
...
arch/ia64/kernel/entry.S
浏览文件 @
c5014de8
...
...
@@ -1601,5 +1601,21 @@ sys_call_table:
data8
sys_inotify_add_watch
data8
sys_inotify_rm_watch
data8
sys_migrate_pages
//
1280
data8
sys_openat
data8
sys_mkdirat
data8
sys_mknodat
data8
sys_fchownat
data8
sys_futimesat
//
1285
data8
sys_newfstatat
data8
sys_unlinkat
data8
sys_renameat
data8
sys_linkat
data8
sys_symlinkat
//
1290
data8
sys_readlinkat
data8
sys_fchmodat
data8
sys_faccessat
data8
sys_ni_syscall
//
reserved
for
pselect
data8
sys_ni_syscall
//
1295
reserved
for
ppoll
data8
sys_unshare
.
org
sys_call_table
+
8
*
NR_syscalls
//
guard
against
failures
to
increase
NR_syscalls
arch/ia64/kernel/fsys.S
浏览文件 @
c5014de8
...
...
@@ -878,31 +878,8 @@ fsyscall_table:
data8
0
//
timer_delete
data8
0
//
clock_settime
data8
fsys_clock_gettime
//
clock_gettime
data8
0
//
clock_getres
//
1255
data8
0
//
clock_nanosleep
data8
0
//
fstatfs64
data8
0
//
statfs64
data8
0
data8
0
//
1260
data8
0
data8
0
//
mq_open
data8
0
//
mq_unlink
data8
0
//
mq_timedsend
data8
0
//
mq_timedreceive
//
1265
data8
0
//
mq_notify
data8
0
//
mq_getsetattr
data8
0
//
kexec_load
data8
0
data8
0
//
1270
data8
0
data8
0
data8
0
data8
0
data8
0
//
1275
data8
0
data8
0
data8
0
data8
0
data8
0
//
1280
#define __NR_syscall_last 1255
.
space
8
*(
NR_syscalls
+
1024
-
__NR_syscall_last
),
0
.
org
fsyscall_table
+
8
*
NR_syscalls
//
guard
against
failures
to
increase
NR_syscalls
arch/ia64/kernel/mca_drv.c
浏览文件 @
c5014de8
...
...
@@ -437,6 +437,9 @@ recover_from_read_error(slidx_table_t *slidx,
* the process not have any locks of kernel.
*/
/* Is minstate valid? */
if
(
!
peidx_bottom
(
peidx
)
||
!
(
peidx_bottom
(
peidx
)
->
valid
.
minstate
))
return
0
;
psr1
=
(
struct
ia64_psr
*
)
&
(
peidx_minstate_area
(
peidx
)
->
pmsa_ipsr
);
/*
...
...
arch/ia64/sn/kernel/io_init.c
浏览文件 @
c5014de8
...
...
@@ -617,15 +617,15 @@ void sn_bus_store_sysdata(struct pci_dev *dev)
void
sn_bus_free_sysdata
(
void
)
{
struct
sysdata_el
*
element
;
struct
list_head
*
list
;
struct
list_head
*
list
,
*
safe
;
sn_sysdata_free_start:
list_for_each
(
list
,
&
sn_sysdata_list
)
{
list_for_each_safe
(
list
,
safe
,
&
sn_sysdata_list
)
{
element
=
list_entry
(
list
,
struct
sysdata_el
,
entry
);
list_del
(
&
element
->
entry
);
list_del
(
&
(((
struct
pcidev_info
*
)
(
element
->
sysdata
))
->
pdi_list
));
kfree
(
element
->
sysdata
);
kfree
(
element
);
goto
sn_sysdata_free_start
;
}
return
;
}
...
...
arch/ia64/sn/kernel/irq.c
浏览文件 @
c5014de8
...
...
@@ -299,7 +299,9 @@ void sn_irq_unfixup(struct pci_dev *pci_dev)
return
;
sn_irq_info
=
SN_PCIDEV_INFO
(
pci_dev
)
->
pdi_sn_irq_info
;
if
(
!
sn_irq_info
||
!
sn_irq_info
->
irq_irq
)
{
if
(
!
sn_irq_info
)
return
;
if
(
!
sn_irq_info
->
irq_irq
)
{
kfree
(
sn_irq_info
);
return
;
}
...
...
arch/sparc64/kernel/systbls.S
浏览文件 @
c5014de8
...
...
@@ -146,7 +146,7 @@ sys_call_table:
/*
270
*/
.
word
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
.
word
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
/*
280
*/
.
word
sys_nis_syscall
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
sys_openat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
compat_
sys_newfstatat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_newfstatat
/*
285
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
.
word
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
...
...
include/asm-ia64/unistd.h
浏览文件 @
c5014de8
...
...
@@ -270,12 +270,27 @@
#define __NR_inotify_add_watch 1278
#define __NR_inotify_rm_watch 1279
#define __NR_migrate_pages 1280
#define __NR_openat 1281
#define __NR_mkdirat 1282
#define __NR_mknodat 1283
#define __NR_fchownat 1284
#define __NR_futimesat 1285
#define __NR_newfstatat 1286
#define __NR_unlinkat 1287
#define __NR_renameat 1288
#define __NR_linkat 1289
#define __NR_symlinkat 1290
#define __NR_readlinkat 1291
#define __NR_fchmodat 1292
#define __NR_faccessat 1293
/* 1294, 1295 reserved for pselect/ppoll */
#define __NR_unshare 1296
#ifdef __KERNEL__
#include <linux/config.h>
#define NR_syscalls 27
0
/* length of syscall table */
#define NR_syscalls 27
3
/* length of syscall table */
#define __ARCH_WANT_SYS_RT_SIGACTION
...
...
include/linux/sched.h
浏览文件 @
c5014de8
...
...
@@ -1098,7 +1098,7 @@ extern struct sigqueue *sigqueue_alloc(void);
extern
void
sigqueue_free
(
struct
sigqueue
*
);
extern
int
send_sigqueue
(
int
,
struct
sigqueue
*
,
struct
task_struct
*
);
extern
int
send_group_sigqueue
(
int
,
struct
sigqueue
*
,
struct
task_struct
*
);
extern
int
do_sigaction
(
int
,
const
struct
k_sigaction
*
,
struct
k_sigaction
*
);
extern
int
do_sigaction
(
int
,
struct
k_sigaction
*
,
struct
k_sigaction
*
);
extern
int
do_sigaltstack
(
const
stack_t
__user
*
,
stack_t
__user
*
,
unsigned
long
);
/* These can be the second arg to send_sig_info/send_group_sig_info. */
...
...
kernel/signal.c
浏览文件 @
c5014de8
...
...
@@ -2430,7 +2430,7 @@ sys_rt_sigqueueinfo(int pid, int sig, siginfo_t __user *uinfo)
}
int
do_sigaction
(
int
sig
,
const
struct
k_sigaction
*
act
,
struct
k_sigaction
*
oact
)
do_sigaction
(
int
sig
,
struct
k_sigaction
*
act
,
struct
k_sigaction
*
oact
)
{
struct
k_sigaction
*
k
;
sigset_t
mask
;
...
...
@@ -2454,6 +2454,8 @@ do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact)
*
oact
=
*
k
;
if
(
act
)
{
sigdelsetmask
(
&
act
->
sa
.
sa_mask
,
sigmask
(
SIGKILL
)
|
sigmask
(
SIGSTOP
));
/*
* POSIX 3.3.1.3:
* "Setting a signal action to SIG_IGN for a signal that is
...
...
@@ -2479,8 +2481,6 @@ do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact)
read_lock
(
&
tasklist_lock
);
spin_lock_irq
(
&
t
->
sighand
->
siglock
);
*
k
=
*
act
;
sigdelsetmask
(
&
k
->
sa
.
sa_mask
,
sigmask
(
SIGKILL
)
|
sigmask
(
SIGSTOP
));
sigemptyset
(
&
mask
);
sigaddset
(
&
mask
,
sig
);
rm_from_queue_full
(
&
mask
,
&
t
->
signal
->
shared_pending
);
...
...
@@ -2495,8 +2495,6 @@ do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact)
}
*
k
=
*
act
;
sigdelsetmask
(
&
k
->
sa
.
sa_mask
,
sigmask
(
SIGKILL
)
|
sigmask
(
SIGSTOP
));
}
spin_unlock_irq
(
&
current
->
sighand
->
siglock
);
...
...
@@ -2702,6 +2700,7 @@ sys_signal(int sig, __sighandler_t handler)
new_sa
.
sa
.
sa_handler
=
handler
;
new_sa
.
sa
.
sa_flags
=
SA_ONESHOT
|
SA_NOMASK
;
sigemptyset
(
&
new_sa
.
sa
.
sa_mask
);
ret
=
do_sigaction
(
sig
,
&
new_sa
,
&
old_sa
);
...
...
scripts/kconfig/Makefile
浏览文件 @
c5014de8
...
...
@@ -123,17 +123,7 @@ KBUILD_HAVE_NLS := $(shell \
then
echo yes
;
\
else
echo
no
;
fi
)
ifeq
($(KBUILD_HAVE_NLS),no)
HOSTCFLAGS
+=
-DKBUILD_NO_NLS
else
KBUILD_NEED_LINTL
:=
$(
shell
\
if
echo
-e
"
\#
include <libintl.h>
\n
int main(int a, char** b
)
{ gettext(
\"\"
)
; return 0;
}
\n
"
|
\
$(HOSTCC)
$(HOSTCFLAGS)
-x
c -
-o
/dev/null> /dev/null 2>&1
;
\
then
echo
no
;
\
else
echo yes
;
fi
)
ifeq
($(KBUILD_NEED_LINTL),yes)
HOSTLOADLIBES_conf
+=
-lintl
HOSTLOADLIBES_mconf
+=
-lintl
endif
HOSTCFLAGS
+=
-DKBUILD_NO_NLS
endif
# generated files seem to need this to find local include files
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录