Files
ubports_kernel_google_msm/arch/x86/kernel
Luck, Tony 66f5ddf30a x86/mce: Make mce_chrdev_ops 'static const'
Arjan would like to make struct file_operations const, but
mce-inject directly writes to the mce_chrdev_ops to install its
write handler. In an ideal world mce-inject would have its own
character device, but we have a sizable legacy of test scripts
that hardwire "/dev/mcelog", so it would be painful to switch to
a separate device now. Instead, this patch switches to a stub
function in the mce code, with a registration helper that
mce-inject can call when it is loaded.

Note that this would also allow for a sane process to allow
mce-inject to be unloaded again (with an unregister function,
and appropriate module_{get,put}() calls), but that is left for
potential future patches.

Reported-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/4eb2e1971326651a3b@agluck-desktop.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-11-08 16:17:11 +01:00
..
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2011-07-01 10:37:14 +02:00
2011-07-26 16:49:47 -07:00
2011-02-17 14:59:22 +01:00
2011-03-18 10:39:30 +01:00
2011-07-26 16:49:47 -07:00
2011-07-24 11:49:36 +03:00
2011-10-10 06:56:47 +02:00
2011-03-18 10:39:30 +01:00
2011-07-01 11:06:38 +02:00
2011-07-21 10:26:00 +02:00
2011-05-26 13:51:35 +02:00
2011-07-14 21:46:20 -07:00
2011-08-04 16:13:49 -07:00
2011-10-31 17:30:44 -07:00
2011-10-10 06:56:47 +02:00
2011-03-18 10:39:30 +01:00
2011-01-13 17:32:41 -08:00
2011-03-18 10:39:30 +01:00