Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
6074a139
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看板
提交
6074a139
编写于
6月 26, 2013
作者:
G
Geert Uytterhoeven
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
m68k/setup: Use pr_*() and __func__ instead of plain printk()
Signed-off-by:
N
Geert Uytterhoeven
<
geert@linux-m68k.org
>
上级
51b9310f
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
9 deletion
+10
-9
arch/m68k/kernel/setup_mm.c
arch/m68k/kernel/setup_mm.c
+10
-9
未找到文件。
arch/m68k/kernel/setup_mm.c
浏览文件 @
6074a139
...
...
@@ -161,7 +161,8 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record)
m68k_memory
[
m68k_num_memory
].
size
=
data
[
1
];
m68k_num_memory
++
;
}
else
printk
(
"m68k_parse_bootinfo: too many memory chunks
\n
"
);
pr_warn
(
"%s: too many memory chunks
\n
"
,
__func__
);
break
;
case
BI_RAMDISK
:
...
...
@@ -197,8 +198,8 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record)
unknown
=
1
;
}
if
(
unknown
)
pr
intk
(
"m68k_parse_bootinfo: unknown tag 0x%04x ignored
\n
"
,
record
->
tag
);
pr
_warn
(
"%s: unknown tag 0x%04x ignored
\n
"
,
__func__
,
record
->
tag
);
record
=
(
struct
bi_record
*
)((
unsigned
long
)
record
+
record
->
size
);
}
...
...
@@ -206,8 +207,8 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record)
m68k_realnum_memory
=
m68k_num_memory
;
#ifdef CONFIG_SINGLE_MEMORY_CHUNK
if
(
m68k_num_memory
>
1
)
{
pr
intk
(
"I
gnoring last %i chunks of physical memory
\n
"
,
(
m68k_num_memory
-
1
));
pr
_warn
(
"%s: i
gnoring last %i chunks of physical memory
\n
"
,
__func__
,
(
m68k_num_memory
-
1
));
m68k_num_memory
=
1
;
}
#endif
...
...
@@ -247,7 +248,7 @@ void __init setup_arch(char **cmdline_p)
asm
(
".chip 68060; movec %%pcr,%0; .chip 68k"
:
"=d"
(
pcr
));
if
(((
pcr
>>
8
)
&
0xff
)
<=
5
)
{
pr
intk
(
"Enabling workaround for errata I14
\n
"
);
pr
_warn
(
"Enabling workaround for errata I14
\n
"
);
asm
(
".chip 68060; movec %0,%%pcr; .chip 68k"
:
:
"d"
(
pcr
|
0x20
));
}
...
...
@@ -353,7 +354,7 @@ void __init setup_arch(char **cmdline_p)
BOOTMEM_DEFAULT
);
initrd_start
=
(
unsigned
long
)
phys_to_virt
(
m68k_ramdisk
.
addr
);
initrd_end
=
initrd_start
+
m68k_ramdisk
.
size
;
pr
intk
(
"initrd: %08lx - %08lx
\n
"
,
initrd_start
,
initrd_end
);
pr
_info
(
"initrd: %08lx - %08lx
\n
"
,
initrd_start
,
initrd_end
);
}
#endif
...
...
@@ -538,9 +539,9 @@ void check_bugs(void)
{
#ifndef CONFIG_M68KFPU_EMU
if
(
m68k_fputype
==
0
)
{
pr
intk
(
KERN_EMERG
"*** YOU DO NOT HAVE A FLOATING POINT UNIT, "
pr
_emerg
(
"*** YOU DO NOT HAVE A FLOATING POINT UNIT, "
"WHICH IS REQUIRED BY LINUX/M68K ***
\n
"
);
pr
intk
(
KERN_EMERG
"Upgrade your hardware or join the FPU "
pr
_emerg
(
"Upgrade your hardware or join the FPU "
"emulation project
\n
"
);
panic
(
"no FPU"
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录