Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80182
b: refs/heads/master
c: a6b6807
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Jan 30, 2008
1 parent 0724c7a commit 148062f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37f30e21d6be046e948fce1dfa4a968cf5abcf89
refs/heads/master: a6b68076fd5d7de04e6847ed9d7d212e7dd6beb5
5 changes: 5 additions & 0 deletions trunk/arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,11 @@ source "kernel/power/Kconfig"

source "drivers/acpi/Kconfig"

config X86_APM_BOOT
bool
default y
depends on APM || APM_MODULE

menuconfig APM
tristate "APM (Advanced Power Management) BIOS support"
depends on X86_32 && PM_SLEEP && !X86_VISWS
Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/x86/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ SVGA_MODE := -DSVGA_MODE=NORMAL_VGA
targets := vmlinux.bin setup.bin setup.elf zImage bzImage
subdir- := compressed

setup-y += a20.o apm.o cmdline.o copy.o cpu.o cpucheck.o edd.o
setup-y += a20.o cmdline.o copy.o cpu.o cpucheck.o edd.o
setup-y += header.o main.o mca.o memory.o pm.o pmjump.o
setup-y += printf.o string.o tty.o video.o version.o voyager.o
setup-y += printf.o string.o tty.o video.o version.o
setup-$(CONFIG_X86_APM_BOOT) += apm.o
setup-$(CONFIG_X86_VOYAGER) += voyager.o

# The link order of the video-*.o modules can matter. In particular,
# video-vga.o *must* be listed first, followed by video-vesa.o.
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/x86/boot/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

#include "boot.h"

#if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)

int query_apm_bios(void)
{
u16 ax, bx, cx, dx, di;
Expand Down Expand Up @@ -95,4 +93,3 @@ int query_apm_bios(void)
return 0;
}

#endif
4 changes: 0 additions & 4 deletions trunk/arch/x86/boot/voyager.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include "boot.h"

#ifdef CONFIG_X86_VOYAGER

int query_voyager(void)
{
u8 err;
Expand All @@ -42,5 +40,3 @@ int query_voyager(void)
copy_from_fs(data_ptr, di, 7); /* Table is 7 bytes apparently */
return 0;
}

#endif /* CONFIG_X86_VOYAGER */

0 comments on commit 148062f

Please sign in to comment.