Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
4bfc2b2e
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4bfc2b2e
编写于
1月 07, 2011
作者:
T
Tony Luck
浏览文件
操作
浏览文件
下载
差异文件
Pull misc2.6.38 into release branch
上级
01539ba2
05f2f274
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
19 addition
and
7 deletion
+19
-7
arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c
+6
-0
arch/ia64/kernel/irq_ia64.c
arch/ia64/kernel/irq_ia64.c
+1
-1
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+1
-2
arch/ia64/kernel/smp.c
arch/ia64/kernel/smp.c
+10
-3
arch/ia64/kernel/time.c
arch/ia64/kernel/time.c
+1
-1
未找到文件。
arch/ia64/kernel/acpi.c
浏览文件 @
4bfc2b2e
...
...
@@ -477,6 +477,12 @@ acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa)
if
(
!
(
pa
->
flags
&
ACPI_SRAT_CPU_ENABLED
))
return
;
if
(
srat_num_cpus
>=
ARRAY_SIZE
(
node_cpuid
))
{
printk_once
(
KERN_WARNING
"node_cpuid[%d] is too small, may not be able to use all cpus
\n
"
,
ARRAY_SIZE
(
node_cpuid
));
return
;
}
pxm
=
get_processor_proximity_domain
(
pa
);
/* record this node in proximity bitmap */
...
...
arch/ia64/kernel/irq_ia64.c
浏览文件 @
4bfc2b2e
...
...
@@ -633,7 +633,7 @@ ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action)
BUG_ON
(
bind_irq_vector
(
irq
,
vec
,
CPU_MASK_ALL
));
desc
=
irq_desc
+
irq
;
desc
->
status
|=
IRQ_PER_CPU
;
desc
->
chip
=
&
irq_type_ia64_lsapic
;
set_irq_chip
(
irq
,
&
irq_type_ia64_lsapic
)
;
if
(
action
)
setup_irq
(
irq
,
action
);
set_irq_handler
(
irq
,
handle_percpu_irq
);
...
...
arch/ia64/kernel/perfmon.c
浏览文件 @
4bfc2b2e
...
...
@@ -829,10 +829,9 @@ pfm_rvmalloc(unsigned long size)
unsigned
long
addr
;
size
=
PAGE_ALIGN
(
size
);
mem
=
v
m
alloc
(
size
);
mem
=
v
z
alloc
(
size
);
if
(
mem
)
{
//printk("perfmon: CPU%d pfm_rvmalloc(%ld)=%p\n", smp_processor_id(), size, mem);
memset
(
mem
,
0
,
size
);
addr
=
(
unsigned
long
)
mem
;
while
(
size
>
0
)
{
pfm_reserve_page
(
addr
);
...
...
arch/ia64/kernel/smp.c
浏览文件 @
4bfc2b2e
...
...
@@ -293,6 +293,7 @@ smp_flush_tlb_all (void)
void
smp_flush_tlb_mm
(
struct
mm_struct
*
mm
)
{
cpumask_var_t
cpus
;
preempt_disable
();
/* this happens for the common case of a single-threaded fork(): */
if
(
likely
(
mm
==
current
->
active_mm
&&
atomic_read
(
&
mm
->
mm_users
)
==
1
))
...
...
@@ -301,9 +302,15 @@ smp_flush_tlb_mm (struct mm_struct *mm)
preempt_enable
();
return
;
}
smp_call_function_many
(
mm_cpumask
(
mm
),
(
void
(
*
)(
void
*
))
local_finish_flush_tlb_mm
,
mm
,
1
);
if
(
!
alloc_cpumask_var
(
&
cpus
,
GFP_ATOMIC
))
{
smp_call_function
((
void
(
*
)(
void
*
))
local_finish_flush_tlb_mm
,
mm
,
1
);
}
else
{
cpumask_copy
(
cpus
,
mm_cpumask
(
mm
));
smp_call_function_many
(
cpus
,
(
void
(
*
)(
void
*
))
local_finish_flush_tlb_mm
,
mm
,
1
);
free_cpumask_var
(
cpus
);
}
local_irq_disable
();
local_finish_flush_tlb_mm
(
mm
);
local_irq_enable
();
...
...
arch/ia64/kernel/time.c
浏览文件 @
4bfc2b2e
...
...
@@ -168,7 +168,7 @@ timer_interrupt (int irq, void *dev_id)
{
unsigned
long
new_itm
;
if
(
unlikely
(
cpu_is_offline
(
smp_processor_id
()
)))
{
if
(
cpu_is_offline
(
smp_processor_id
(
)))
{
return
IRQ_HANDLED
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录