Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 172931 Details for
Bug 247671
x11-drivers/ati-drivers-8.552-r2 fails to emerge on amd64 using sys-kernel/gentoo-sources-2.6.27-r2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
MAGIC SYSRQ patch for when USE=-debug
sysrq-patch (text/plain), 2.07 KB, created by
C.P. Banks
on 2008-11-23 12:38:57 UTC
(
hide
)
Description:
MAGIC SYSRQ patch for when USE=-debug
Filename:
MIME Type:
Creator:
C.P. Banks
Created:
2008-11-23 12:38:57 UTC
Size:
2.07 KB
patch
obsolete
>diff -uNr ati-driver-8-11-orig/common/lib/modules/fglrx/build_mod/kcl_config.h ati-driver-8-11/common/lib/modules/fglrx/build_mod/kcl_config.h >--- ati-driver-8-11-orig/common/lib/modules/fglrx/build_mod/kcl_config.h 2008-11-11 11:18:15.000000000 -0500 >+++ ati-driver-8-11/common/lib/modules/fglrx/build_mod/kcl_config.h 2008-11-23 07:16:34.000000000 -0500 >@@ -39,4 +39,6 @@ > #define NULL (void*)0 > #endif > >+//OFF: #define CONFIG_MAGIC_SYSRQ >+ > #endif >diff -uNr ati-driver-8-11-orig/common/lib/modules/fglrx/build_mod/kcl_debug.c ati-driver-8-11/common/lib/modules/fglrx/build_mod/kcl_debug.c >--- ati-driver-8-11-orig/common/lib/modules/fglrx/build_mod/kcl_debug.c 2008-11-11 11:18:15.000000000 -0500 >+++ ati-driver-8-11/common/lib/modules/fglrx/build_mod/kcl_debug.c 2008-11-23 07:16:23.000000000 -0500 >@@ -32,10 +32,13 @@ > > #include <linux/version.h> > #include <linux/kernel.h> >-#include <linux/sysrq.h> > > #include "kcl_config.h" > >+#ifdef CONFIG_MAGIC_SYSRQ >+#include <linux/sysrq.h> >+#endif >+ > extern int ATI_API_CALL firegl_debug_kbd_handler(void); > extern int ATI_API_CALL firegl_debug_dump(void); > >@@ -57,6 +60,7 @@ > firegl_debug_dump(); > } > >+#ifdef CONFIG_MAGIC_SYSRQ > static struct sysrq_key_op kcl_debug_sysrq_op = > { > .handler = kcl_debug_sysrq_handler, >@@ -70,6 +74,7 @@ > .help_msg = "fgLdump", > .action_msg = "FGLDUMP", > }; >+#endif > > /** \brief Print debug information to the OS debug console > * \param fmt printf-like formatting string >@@ -93,6 +98,7 @@ > */ > int ATI_API_CALL KCL_DEBUG_RegKbdHandler(int enable) > { >+#ifdef CONFIG_MAGIC_SYSRQ > if(enable) > { > register_sysrq_key('g', &kcl_debug_sysrq_op); >@@ -101,7 +107,7 @@ > { > unregister_sysrq_key('g', &kcl_debug_sysrq_op); > } >- >+#endif > return 0; > } > >@@ -111,6 +117,7 @@ > */ > int ATI_API_CALL KCL_DEBUG_RegKbdDumpHandler(int enable) > { >+#ifdef CONFIG_MAGIC_SYSRQ > if(enable) > { > register_sysrq_key('l', &kcl_debug_sysrq_dump_op); >@@ -119,7 +126,7 @@ > { > unregister_sysrq_key('l', &kcl_debug_sysrq_dump_op); > } >- >+#endif > return 0; > } >
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 247671
:
172593
|
172595
|
172625
|
172627
| 172931