Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Linux-御风守护者
linux
提交
69a80d3f
L
linux
项目概览
Linux-御风守护者
/
linux
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,发现更多精彩内容 >>
提交
69a80d3f
编写于
10月 10, 2005
作者:
P
Paul Mackerras
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
powerpc: move pSeries files to arch/powerpc/platforms/pseries
Signed-off-by:
N
Paul Mackerras
<
paulus@samba.org
>
上级
ab1f9dac
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
10 addition
and
53 deletion
+10
-53
arch/powerpc/platforms/Makefile
arch/powerpc/platforms/Makefile
+1
-0
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/Makefile
+4
-0
arch/powerpc/platforms/pseries/hvCall.S
arch/powerpc/platforms/pseries/hvCall.S
+0
-0
arch/powerpc/platforms/pseries/iommu.c
arch/powerpc/platforms/pseries/iommu.c
+0
-0
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/lpar.c
+0
-0
arch/powerpc/platforms/pseries/nvram.c
arch/powerpc/platforms/pseries/nvram.c
+0
-0
arch/powerpc/platforms/pseries/pci.c
arch/powerpc/platforms/pseries/pci.c
+0
-0
arch/powerpc/platforms/pseries/reconfig.c
arch/powerpc/platforms/pseries/reconfig.c
+0
-0
arch/powerpc/platforms/pseries/setup.c
arch/powerpc/platforms/pseries/setup.c
+3
-3
arch/powerpc/platforms/pseries/smp.c
arch/powerpc/platforms/pseries/smp.c
+1
-47
arch/powerpc/platforms/pseries/vio.c
arch/powerpc/platforms/pseries/vio.c
+0
-0
arch/ppc64/kernel/Makefile
arch/ppc64/kernel/Makefile
+1
-3
未找到文件。
arch/powerpc/platforms/Makefile
浏览文件 @
69a80d3f
...
...
@@ -4,4 +4,5 @@ endif
obj-$(CONFIG_4xx)
+=
4xx/
obj-$(CONFIG_83xx)
+=
83xx/
obj-$(CONFIG_85xx)
+=
85xx/
obj-$(CONFIG_PPC_PSERIES)
+=
pseries/
obj-$(CONFIG_PPC_ISERIES)
+=
iseries/
arch/powerpc/platforms/pseries/Makefile
0 → 100644
浏览文件 @
69a80d3f
obj-y
:=
pci.o lpar.o hvCall.o nvram.o reconfig.o
\
setup.o iommu.o
obj-$(CONFIG_SMP)
+=
smp.o
obj-$(CONFIG_IBMVIO)
+=
vio.o
arch/p
pc64/kernel/pSeries_
hvCall.S
→
arch/p
owerpc/platforms/pseries/
hvCall.S
浏览文件 @
69a80d3f
文件已移动
arch/p
pc64/kernel/pSeries_
iommu.c
→
arch/p
owerpc/platforms/pseries/
iommu.c
浏览文件 @
69a80d3f
文件已移动
arch/p
pc64/kernel/pSeries_
lpar.c
→
arch/p
owerpc/platforms/pseries/
lpar.c
浏览文件 @
69a80d3f
文件已移动
arch/p
pc64/kernel/pSeries_
nvram.c
→
arch/p
owerpc/platforms/pseries/
nvram.c
浏览文件 @
69a80d3f
文件已移动
arch/p
pc64/kernel/pSeries_
pci.c
→
arch/p
owerpc/platforms/pseries/
pci.c
浏览文件 @
69a80d3f
文件已移动
arch/p
pc64/kernel/pSeries_
reconfig.c
→
arch/p
owerpc/platforms/pseries/
reconfig.c
浏览文件 @
69a80d3f
文件已移动
arch/p
pc64/kernel/pSeries_
setup.c
→
arch/p
owerpc/platforms/pseries/
setup.c
浏览文件 @
69a80d3f
...
...
@@ -64,8 +64,8 @@
#include <asm/pmc.h>
#include <asm/mpic.h>
#include <asm/ppc-pci.h>
#include
"i8259.h"
#include <asm/i8259.h>
#include
<asm/udbg.h>
#ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt)
...
...
@@ -124,7 +124,7 @@ static int pSeries_irq_cascade(struct pt_regs *regs, void *data)
if
(
chrp_int_ack_special
)
return
readb
(
chrp_int_ack_special
);
else
return
i8259_irq
(
smp_processor_id
()
);
return
i8259_irq
(
regs
);
}
static
void
__init
pSeries_init_mpic
(
void
)
...
...
arch/p
pc64/kernel/pSeries_
smp.c
→
arch/p
owerpc/platforms/pseries/
smp.c
浏览文件 @
69a80d3f
/*
* SMP support for pSeries
and BPA
machines.
* SMP support for pSeries machines.
*
* Dave Engebretsen, Peter Bergner, and
* Mike Corrigan {engebret|bergner|mikec}@us.ibm.com
...
...
@@ -48,8 +48,6 @@
#include <asm/pSeries_reconfig.h>
#include <asm/mpic.h>
#include "bpa_iic.h"
#ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt)
#else
...
...
@@ -343,36 +341,6 @@ static void __devinit smp_xics_setup_cpu(int cpu)
}
#endif
/* CONFIG_XICS */
#ifdef CONFIG_BPA_IIC
static
void
smp_iic_message_pass
(
int
target
,
int
msg
)
{
unsigned
int
i
;
if
(
target
<
NR_CPUS
)
{
iic_cause_IPI
(
target
,
msg
);
}
else
{
for_each_online_cpu
(
i
)
{
if
(
target
==
MSG_ALL_BUT_SELF
&&
i
==
smp_processor_id
())
continue
;
iic_cause_IPI
(
i
,
msg
);
}
}
}
static
int
__init
smp_iic_probe
(
void
)
{
iic_request_IPIs
();
return
cpus_weight
(
cpu_possible_map
);
}
static
void
__devinit
smp_iic_setup_cpu
(
int
cpu
)
{
if
(
cpu
!=
boot_cpuid
)
iic_setup_cpu
();
}
#endif
/* CONFIG_BPA_IIC */
static
DEFINE_SPINLOCK
(
timebase_lock
);
static
unsigned
long
timebase
=
0
;
...
...
@@ -444,15 +412,6 @@ static struct smp_ops_t pSeries_xics_smp_ops = {
.
cpu_bootable
=
smp_pSeries_cpu_bootable
,
};
#endif
#ifdef CONFIG_BPA_IIC
static
struct
smp_ops_t
bpa_iic_smp_ops
=
{
.
message_pass
=
smp_iic_message_pass
,
.
probe
=
smp_iic_probe
,
.
kick_cpu
=
smp_pSeries_kick_cpu
,
.
setup_cpu
=
smp_iic_setup_cpu
,
.
cpu_bootable
=
smp_pSeries_cpu_bootable
,
};
#endif
/* This is called very early */
void
__init
smp_init_pSeries
(
void
)
...
...
@@ -471,11 +430,6 @@ void __init smp_init_pSeries(void)
case
IC_PPC_XIC
:
smp_ops
=
&
pSeries_xics_smp_ops
;
break
;
#endif
#ifdef CONFIG_BPA_IIC
case
IC_BPA_IIC
:
smp_ops
=
&
bpa_iic_smp_ops
;
break
;
#endif
default:
panic
(
"Invalid interrupt controller"
);
...
...
arch/p
pc64/kernel/pSeries_
vio.c
→
arch/p
owerpc/platforms/pseries/
vio.c
浏览文件 @
69a80d3f
文件已移动
arch/ppc64/kernel/Makefile
浏览文件 @
69a80d3f
...
...
@@ -24,9 +24,7 @@ obj-$(CONFIG_PCI) += pci.o pci_iommu.o iomap.o $(pci-obj-y)
obj-$(CONFIG_PPC_MULTIPLATFORM)
+=
nvram.o i8259.o prom_init.o
obj-$(CONFIG_PPC_PSERIES)
+=
pSeries_pci.o pSeries_lpar.o pSeries_hvCall.o
\
pSeries_nvram.o rtasd.o ras.o pSeries_reconfig.o
\
pSeries_setup.o pSeries_iommu.o udbg_16550.o
obj-$(CONFIG_PPC_PSERIES)
+=
rtasd.o ras.o udbg_16550.o
obj-$(CONFIG_PPC_BPA)
+=
bpa_setup.o bpa_iommu.o bpa_nvram.o
\
bpa_iic.o spider-pic.o
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录