Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17031
b: refs/heads/master
c: 987d461
h: refs/heads/master
i:
  17029: 27c2e48
  17027: 64f4756
  17023: 4535d02
v: v3
  • Loading branch information
Dave Jones authored and Linus Torvalds committed Jan 9, 2006
1 parent 85de4e4 commit d177600
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 9fe656e91fd95d0893cc4831b032e0be60791bd7
refs/heads/master: 987d4613e52e4f655278265aabbcc69237018b1d
2 changes: 1 addition & 1 deletion trunk/arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ depends on PM && !X86_VISWS

config APM
tristate "APM (Advanced Power Management) BIOS support"
depends on PM && PM_LEGACY
depends on PM
---help---
APM is a BIOS specification for saving power using several different
techniques. This is mostly useful for battery powered laptops with
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/i386/kernel/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,9 @@ static int __init apm_init(void)
apm_info.disabled = 1;
return -ENODEV;
}
#ifdef CONFIG_PM_LEGACY
pm_active = 1;
#endif

/*
* Set up a segment that references the real mode segment 0x40
Expand Down Expand Up @@ -2382,7 +2384,9 @@ static void __exit apm_exit(void)
exit_kapmd = 1;
while (kapmd_running)
schedule();
#ifdef CONFIG_PM_LEGACY
pm_active = 0;
#endif
}

module_init(apm_init);
Expand Down

0 comments on commit d177600

Please sign in to comment.