x86, mce: Use mce_sysdev_ prefix to group functions
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Wed, 8 Jun 2011 02:02:03 +0000 (11:02 +0900)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 16 Jun 2011 10:10:16 +0000 (12:10 +0200)
commitc7cece89f1b00b56276303942f96ec67cf206e1e
tree07b5c87818635ea49dbefb4ef4f6447e9d941faf
parent93b62c3cf59d44850cbe9f04d58da08930e3fb0b
x86, mce: Use mce_sysdev_ prefix to group functions

There are many functions named mce_* so use a new prefix for the subset
of functions related to sysfs support.

And since f3c6ea1b06c71b43f751b36bd99345369fe911af introduces
syscore_ops, use the prefix mce_syscore for some functions related to
power management which were in sysdev_class before.

  Before: After:
   mce_device     mce_sysdev
   mce_sysclass   mce_sysdev_class
   mce_attrs      mce_sysdev_attrs
   mce_dev_initialized    mce_sysdev_initialized
   mce_create_device      mce_sysdev_create
   mce_remove_device      mce_sysdev_remove

   mce_suspend    mce_syscore_suspend
   mce_shutdown   mce_syscore_shutdown
   mce_resume     mce_syscore_resume

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/4DEED81B.8020506@jp.fujitsu.com
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/cpu/mcheck/mce_amd.c