Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
10d3285d
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
10d3285d
编写于
7月 26, 2008
作者:
I
Ingo Molnar
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'x86/urgent' into x86/core
Conflicts: include/asm-x86/gpio.h Signed-off-by:
N
Ingo Molnar
<
mingo@elte.hu
>
上级
6dec3a10
3a61ec38
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
22 addition
and
31 deletion
+22
-31
arch/x86/Kconfig
arch/x86/Kconfig
+11
-15
arch/x86/Makefile
arch/x86/Makefile
+0
-5
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu.c
+2
-2
arch/x86/kernel/amd_iommu_init.c
arch/x86/kernel/amd_iommu_init.c
+2
-2
include/asm-x86/gpio.h
include/asm-x86/gpio.h
+0
-6
include/asm-x86/mach-summit/mach_apic.h
include/asm-x86/mach-summit/mach_apic.h
+1
-1
include/linux/crash_dump.h
include/linux/crash_dump.h
+6
-0
未找到文件。
arch/x86/Kconfig
浏览文件 @
10d3285d
...
@@ -23,7 +23,7 @@ config X86
...
@@ -23,7 +23,7 @@ config X86
select HAVE_OPROFILE
select HAVE_OPROFILE
select HAVE_IOREMAP_PROT
select HAVE_IOREMAP_PROT
select HAVE_KPROBES
select HAVE_KPROBES
select ARCH_WANT_OPTIONAL_GPIOLIB
if !X86_RDC321X
select ARCH_WANT_OPTIONAL_GPIOLIB
select HAVE_KRETPROBES
select HAVE_KRETPROBES
select HAVE_DYNAMIC_FTRACE
select HAVE_DYNAMIC_FTRACE
select HAVE_FTRACE
select HAVE_FTRACE
...
@@ -332,20 +332,6 @@ config X86_BIGSMP
...
@@ -332,20 +332,6 @@ config X86_BIGSMP
endif
endif
config X86_RDC321X
bool "RDC R-321x SoC"
depends on X86_32
select M486
select X86_REBOOTFIXUPS
select GENERIC_GPIO
select LEDS_CLASS
select LEDS_GPIO
select NEW_LEDS
help
This option is needed for RDC R-321x system-on-chip, also known
as R-8610-(G).
If you don't have one of these chips, you should say N here.
config X86_VSMP
config X86_VSMP
bool "Support for ScaleMP vSMP"
bool "Support for ScaleMP vSMP"
select PARAVIRT
select PARAVIRT
...
@@ -369,6 +355,16 @@ config X86_VISWS
...
@@ -369,6 +355,16 @@ config X86_VISWS
A kernel compiled for the Visual Workstation will run on general
A kernel compiled for the Visual Workstation will run on general
PCs as well. See <file:Documentation/sgi-visws.txt> for details.
PCs as well. See <file:Documentation/sgi-visws.txt> for details.
config X86_RDC321X
bool "RDC R-321x SoC"
depends on X86_32
select M486
select X86_REBOOTFIXUPS
help
This option is needed for RDC R-321x system-on-chip, also known
as R-8610-(G).
If you don't have one of these chips, you should say N here.
config SCHED_NO_NO_OMIT_FRAME_POINTER
config SCHED_NO_NO_OMIT_FRAME_POINTER
def_bool y
def_bool y
prompt "Single-depth WCHAN output"
prompt "Single-depth WCHAN output"
...
...
arch/x86/Makefile
浏览文件 @
10d3285d
...
@@ -118,11 +118,6 @@ mflags-$(CONFIG_X86_GENERICARCH):= -Iinclude/asm-x86/mach-generic
...
@@ -118,11 +118,6 @@ mflags-$(CONFIG_X86_GENERICARCH):= -Iinclude/asm-x86/mach-generic
fcore-$(CONFIG_X86_GENERICARCH)
+=
arch
/x86/mach-generic/
fcore-$(CONFIG_X86_GENERICARCH)
+=
arch
/x86/mach-generic/
mcore-$(CONFIG_X86_GENERICARCH)
:=
arch
/x86/mach-default/
mcore-$(CONFIG_X86_GENERICARCH)
:=
arch
/x86/mach-default/
# RDC R-321x subarch support
mflags-$(CONFIG_X86_RDC321X)
:=
-Iinclude
/asm-x86/mach-rdc321x
mcore-$(CONFIG_X86_RDC321X)
:=
arch
/x86/mach-default/
core-$(CONFIG_X86_RDC321X)
+=
arch
/x86/mach-rdc321x/
# default subarch .h files
# default subarch .h files
mflags-y
+=
-Iinclude
/asm-x86/mach-default
mflags-y
+=
-Iinclude
/asm-x86/mach-default
...
...
arch/x86/kernel/amd_iommu.c
浏览文件 @
10d3285d
...
@@ -667,7 +667,7 @@ static int get_device_resources(struct device *dev,
...
@@ -667,7 +667,7 @@ static int get_device_resources(struct device *dev,
_bdf
=
calc_devid
(
pcidev
->
bus
->
number
,
pcidev
->
devfn
);
_bdf
=
calc_devid
(
pcidev
->
bus
->
number
,
pcidev
->
devfn
);
/* device not translated by any IOMMU in the system? */
/* device not translated by any IOMMU in the system? */
if
(
_bdf
>
=
amd_iommu_last_bdf
)
{
if
(
_bdf
>
amd_iommu_last_bdf
)
{
*
iommu
=
NULL
;
*
iommu
=
NULL
;
*
domain
=
NULL
;
*
domain
=
NULL
;
*
bdf
=
0xffff
;
*
bdf
=
0xffff
;
...
@@ -1085,7 +1085,7 @@ void prealloc_protection_domains(void)
...
@@ -1085,7 +1085,7 @@ void prealloc_protection_domains(void)
while
((
dev
=
pci_get_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
while
((
dev
=
pci_get_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
devid
=
(
dev
->
bus
->
number
<<
8
)
|
dev
->
devfn
;
devid
=
(
dev
->
bus
->
number
<<
8
)
|
dev
->
devfn
;
if
(
devid
>
=
amd_iommu_last_bdf
)
if
(
devid
>
amd_iommu_last_bdf
)
continue
;
continue
;
devid
=
amd_iommu_alias_table
[
devid
];
devid
=
amd_iommu_alias_table
[
devid
];
if
(
domain_for_device
(
devid
))
if
(
domain_for_device
(
devid
))
...
...
arch/x86/kernel/amd_iommu_init.c
浏览文件 @
10d3285d
...
@@ -732,7 +732,7 @@ static int __init init_exclusion_range(struct ivmd_header *m)
...
@@ -732,7 +732,7 @@ static int __init init_exclusion_range(struct ivmd_header *m)
set_device_exclusion_range
(
m
->
devid
,
m
);
set_device_exclusion_range
(
m
->
devid
,
m
);
break
;
break
;
case
ACPI_IVMD_TYPE_ALL
:
case
ACPI_IVMD_TYPE_ALL
:
for
(
i
=
0
;
i
<
amd_iommu_last_bdf
;
++
i
)
for
(
i
=
0
;
i
<
=
amd_iommu_last_bdf
;
++
i
)
set_device_exclusion_range
(
i
,
m
);
set_device_exclusion_range
(
i
,
m
);
break
;
break
;
case
ACPI_IVMD_TYPE_RANGE
:
case
ACPI_IVMD_TYPE_RANGE
:
...
@@ -934,7 +934,7 @@ int __init amd_iommu_init(void)
...
@@ -934,7 +934,7 @@ int __init amd_iommu_init(void)
/*
/*
* let all alias entries point to itself
* let all alias entries point to itself
*/
*/
for
(
i
=
0
;
i
<
amd_iommu_last_bdf
;
++
i
)
for
(
i
=
0
;
i
<
=
amd_iommu_last_bdf
;
++
i
)
amd_iommu_alias_table
[
i
]
=
i
;
amd_iommu_alias_table
[
i
]
=
i
;
/*
/*
...
...
include/asm-x86/gpio.h
浏览文件 @
10d3285d
...
@@ -16,10 +16,6 @@
...
@@ -16,10 +16,6 @@
#ifndef _ASM_I386_GPIO_H
#ifndef _ASM_I386_GPIO_H
#define _ASM_I386_GPIO_H
#define _ASM_I386_GPIO_H
#ifdef CONFIG_X86_RDC321X
#include <gpio.h>
#else
/* CONFIG_X86_RDC321X */
#include <asm-generic/gpio.h>
#include <asm-generic/gpio.h>
#ifdef CONFIG_GPIOLIB
#ifdef CONFIG_GPIOLIB
...
@@ -57,6 +53,4 @@ static inline int irq_to_gpio(unsigned int irq)
...
@@ -57,6 +53,4 @@ static inline int irq_to_gpio(unsigned int irq)
#endif
/* CONFIG_GPIOLIB */
#endif
/* CONFIG_GPIOLIB */
#endif
/* CONFIG_X86_RDC321X */
#endif
/* ASM_X86__GPIO_H */
#endif
/* ASM_X86__GPIO_H */
include/asm-x86/mach-summit/mach_apic.h
浏览文件 @
10d3285d
...
@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_id_map)
...
@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_id_map)
static
inline
physid_mask_t
apicid_to_cpu_present
(
int
apicid
)
static
inline
physid_mask_t
apicid_to_cpu_present
(
int
apicid
)
{
{
return
physid_mask_of_physid
(
0
);
return
physid_mask_of_physid
(
apicid
);
}
}
static
inline
void
setup_portio_remap
(
void
)
static
inline
void
setup_portio_remap
(
void
)
...
...
include/linux/crash_dump.h
浏览文件 @
10d3285d
...
@@ -8,7 +8,13 @@
...
@@ -8,7 +8,13 @@
#include <linux/proc_fs.h>
#include <linux/proc_fs.h>
#define ELFCORE_ADDR_MAX (-1ULL)
#define ELFCORE_ADDR_MAX (-1ULL)
#ifdef CONFIG_PROC_VMCORE
extern
unsigned
long
long
elfcorehdr_addr
;
extern
unsigned
long
long
elfcorehdr_addr
;
#else
static
const
unsigned
long
long
elfcorehdr_addr
=
ELFCORE_ADDR_MAX
;
#endif
extern
ssize_t
copy_oldmem_page
(
unsigned
long
,
char
*
,
size_t
,
extern
ssize_t
copy_oldmem_page
(
unsigned
long
,
char
*
,
size_t
,
unsigned
long
,
int
);
unsigned
long
,
int
);
extern
const
struct
file_operations
proc_vmcore_operations
;
extern
const
struct
file_operations
proc_vmcore_operations
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录