Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375272 Details for
Bug 508082
kernel >3.12 - black screen with 945gm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/gentoo-sources-3.12.17-governors.patch
gentoo-sources-3.12.17-governors.patch (text/plain), 1.08 KB, created by
Aliaksei Urbanski
on 2014-04-19 11:43:45 UTC
(
hide
)
Description:
files/gentoo-sources-3.12.17-governors.patch
Filename:
MIME Type:
Creator:
Aliaksei Urbanski
Created:
2014-04-19 11:43:45 UTC
Size:
1.08 KB
patch
obsolete
>diff --git a/drivers/cpuidle/governors/ladder.c b/drivers/cpuidle/governors/ladder.c >index 9f08e8c..9b78405 100644 >--- a/drivers/cpuidle/governors/ladder.c >+++ b/drivers/cpuidle/governors/ladder.c >@@ -192,4 +192,14 @@ static int __init init_ladder(void) > return cpuidle_register_governor(&ladder_governor); > } > >-postcore_initcall(init_ladder); >+/** >+ * exit_ladder - exits the governor >+ */ >+static void __exit exit_ladder(void) >+{ >+ cpuidle_unregister_governor(&ladder_governor); >+} >+ >+MODULE_LICENSE("GPL"); >+module_init(init_ladder); >+module_exit(exit_ladder); >diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c >index 743138c..fe343a0 100644 >--- a/drivers/cpuidle/governors/menu.c >+++ b/drivers/cpuidle/governors/menu.c >@@ -540,4 +540,14 @@ static int __init init_menu(void) > return cpuidle_register_governor(&menu_governor); > } > >-postcore_initcall(init_menu); >+/** >+ * exit_menu - exits the governor >+ */ >+static void __exit exit_menu(void) >+{ >+ cpuidle_unregister_governor(&menu_governor); >+} >+ >+MODULE_LICENSE("GPL"); >+module_init(init_menu); >+module_exit(exit_menu);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508082
: 375272 |
375274
|
375276
|
375278
|
375280
|
375282
|
375284