Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
65c9bb6c
Commit
65c9bb6c
authored
Feb 26, 2010
by
Tony Luck
Browse files
Options
Browse Files
Download
Plain Diff
Pull alex into release branch
parents
8d6339b8
e72aca30
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
36 deletions
+32
-36
arch/ia64/include/asm/acpi.h
arch/ia64/include/asm/acpi.h
+25
-0
arch/ia64/kernel/Makefile
arch/ia64/kernel/Makefile
+2
-4
arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c
+1
-32
arch/ia64/kernel/process.c
arch/ia64/kernel/process.c
+4
-0
No files found.
arch/ia64/include/asm/acpi.h
View file @
65c9bb6c
...
@@ -99,7 +99,32 @@ ia64_acpi_release_global_lock (unsigned int *lock)
...
@@ -99,7 +99,32 @@ ia64_acpi_release_global_lock (unsigned int *lock)
#define acpi_processor_cstate_check(x) (x)
/* no idle limits on IA64 :) */
#define acpi_processor_cstate_check(x) (x)
/* no idle limits on IA64 :) */
static
inline
void
disable_acpi
(
void
)
{
}
static
inline
void
disable_acpi
(
void
)
{
}
#ifdef CONFIG_IA64_GENERIC
const
char
*
acpi_get_sysname
(
void
);
const
char
*
acpi_get_sysname
(
void
);
#else
static
inline
const
char
*
acpi_get_sysname
(
void
)
{
# if defined (CONFIG_IA64_HP_SIM)
return
"hpsim"
;
# elif defined (CONFIG_IA64_HP_ZX1)
return
"hpzx1"
;
# elif defined (CONFIG_IA64_HP_ZX1_SWIOTLB)
return
"hpzx1_swiotlb"
;
# elif defined (CONFIG_IA64_SGI_SN2)
return
"sn2"
;
# elif defined (CONFIG_IA64_SGI_UV)
return
"uv"
;
# elif defined (CONFIG_IA64_DIG)
return
"dig"
;
# elif defined (CONFIG_IA64_XEN_GUEST)
return
"xen"
;
# elif defined(CONFIG_IA64_DIG_VTD)
return
"dig_vtd"
;
# else
# error Unknown platform. Fix acpi.c.
# endif
}
#endif
int
acpi_request_vector
(
u32
int_type
);
int
acpi_request_vector
(
u32
int_type
);
int
acpi_gsi_to_irq
(
u32
gsi
,
unsigned
int
*
irq
);
int
acpi_gsi_to_irq
(
u32
gsi
,
unsigned
int
*
irq
);
...
...
arch/ia64/kernel/Makefile
View file @
65c9bb6c
...
@@ -8,15 +8,13 @@ endif
...
@@ -8,15 +8,13 @@ endif
extra-y
:=
head.o init_task.o vmlinux.lds
extra-y
:=
head.o init_task.o vmlinux.lds
obj-y
:=
acpi.o
entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o
\
obj-y
:=
entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o
\
irq_lsapic.o ivt.o machvec.o pal.o paravirt_patchlist.o patch.o process.o perfmon.o ptrace.o sal.o
\
irq_lsapic.o ivt.o machvec.o pal.o paravirt_patchlist.o patch.o process.o perfmon.o ptrace.o sal.o
\
salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o
\
salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o
\
unwind.o mca.o mca_asm.o topology.o dma-mapping.o
unwind.o mca.o mca_asm.o topology.o dma-mapping.o
obj-$(CONFIG_ACPI)
+=
acpi.o acpi-ext.o
obj-$(CONFIG_IA64_BRL_EMU)
+=
brl_emu.o
obj-$(CONFIG_IA64_BRL_EMU)
+=
brl_emu.o
obj-$(CONFIG_IA64_GENERIC)
+=
acpi-ext.o
obj-$(CONFIG_IA64_HP_ZX1)
+=
acpi-ext.o
obj-$(CONFIG_IA64_HP_ZX1_SWIOTLB)
+=
acpi-ext.o
obj-$(CONFIG_IA64_PALINFO)
+=
palinfo.o
obj-$(CONFIG_IA64_PALINFO)
+=
palinfo.o
obj-$(CONFIG_IOSAPIC)
+=
iosapic.o
obj-$(CONFIG_IOSAPIC)
+=
iosapic.o
...
...
arch/ia64/kernel/acpi.c
View file @
65c9bb6c
...
@@ -60,11 +60,6 @@
...
@@ -60,11 +60,6 @@
#define PREFIX "ACPI: "
#define PREFIX "ACPI: "
void
(
*
pm_idle
)
(
void
);
EXPORT_SYMBOL
(
pm_idle
);
void
(
*
pm_power_off
)
(
void
);
EXPORT_SYMBOL
(
pm_power_off
);
u32
acpi_rsdt_forced
;
u32
acpi_rsdt_forced
;
unsigned
int
acpi_cpei_override
;
unsigned
int
acpi_cpei_override
;
unsigned
int
acpi_cpei_phys_cpuid
;
unsigned
int
acpi_cpei_phys_cpuid
;
...
@@ -83,12 +78,10 @@ static unsigned long __init acpi_find_rsdp(void)
...
@@ -83,12 +78,10 @@ static unsigned long __init acpi_find_rsdp(void)
"v1.0/r0.71 tables no longer supported
\n
"
);
"v1.0/r0.71 tables no longer supported
\n
"
);
return
rsdp_phys
;
return
rsdp_phys
;
}
}
#endif
const
char
__init
*
const
char
__init
*
acpi_get_sysname
(
void
)
acpi_get_sysname
(
void
)
{
{
#ifdef CONFIG_IA64_GENERIC
unsigned
long
rsdp_phys
;
unsigned
long
rsdp_phys
;
struct
acpi_table_rsdp
*
rsdp
;
struct
acpi_table_rsdp
*
rsdp
;
struct
acpi_table_xsdt
*
xsdt
;
struct
acpi_table_xsdt
*
xsdt
;
...
@@ -143,30 +136,8 @@ acpi_get_sysname(void)
...
@@ -143,30 +136,8 @@ acpi_get_sysname(void)
#endif
#endif
return
"dig"
;
return
"dig"
;
#else
# if defined (CONFIG_IA64_HP_SIM)
return
"hpsim"
;
# elif defined (CONFIG_IA64_HP_ZX1)
return
"hpzx1"
;
# elif defined (CONFIG_IA64_HP_ZX1_SWIOTLB)
return
"hpzx1_swiotlb"
;
# elif defined (CONFIG_IA64_SGI_SN2)
return
"sn2"
;
# elif defined (CONFIG_IA64_SGI_UV)
return
"uv"
;
# elif defined (CONFIG_IA64_DIG)
return
"dig"
;
# elif defined (CONFIG_IA64_XEN_GUEST)
return
"xen"
;
# elif defined(CONFIG_IA64_DIG_VTD)
return
"dig_vtd"
;
# else
# error Unknown platform. Fix acpi.c.
# endif
#endif
}
}
#endif
/* CONFIG_IA64_GENERIC */
#ifdef CONFIG_ACPI
#define ACPI_MAX_PLATFORM_INTERRUPTS 256
#define ACPI_MAX_PLATFORM_INTERRUPTS 256
...
@@ -1060,5 +1031,3 @@ void acpi_restore_state_mem(void) {}
...
@@ -1060,5 +1031,3 @@ void acpi_restore_state_mem(void) {}
* do_suspend_lowlevel()
* do_suspend_lowlevel()
*/
*/
void
do_suspend_lowlevel
(
void
)
{}
void
do_suspend_lowlevel
(
void
)
{}
#endif
/* CONFIG_ACPI */
arch/ia64/kernel/process.c
View file @
65c9bb6c
...
@@ -59,6 +59,10 @@ unsigned long idle_halt;
...
@@ -59,6 +59,10 @@ unsigned long idle_halt;
EXPORT_SYMBOL
(
idle_halt
);
EXPORT_SYMBOL
(
idle_halt
);
unsigned
long
idle_nomwait
;
unsigned
long
idle_nomwait
;
EXPORT_SYMBOL
(
idle_nomwait
);
EXPORT_SYMBOL
(
idle_nomwait
);
void
(
*
pm_idle
)
(
void
);
EXPORT_SYMBOL
(
pm_idle
);
void
(
*
pm_power_off
)
(
void
);
EXPORT_SYMBOL
(
pm_power_off
);
void
void
ia64_do_show_stack
(
struct
unw_frame_info
*
info
,
void
*
arg
)
ia64_do_show_stack
(
struct
unw_frame_info
*
info
,
void
*
arg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment