x86, mce: Use mce_chrdev_ prefix to group functions
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Wed, 8 Jun 2011 02:00:45 +0000 (11:00 +0900)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 16 Jun 2011 10:10:15 +0000 (12:10 +0200)
commit93b62c3cf59d44850cbe9f04d58da08930e3fb0b
tree2a850317b2acb73e056ca2f74293aac332cc9212
parent559faa6be143b8aa7a07b12f618d29fbc1c8eb0d
x86, mce: Use mce_chrdev_ prefix to group functions

There are many functions named mce_* so use a new prefix for the subset
of functions dealing with the character device /dev/mcelog.

This change doesn't impact the mce-inject module because the exported
symbol mce_chrdev_ops already has the prefix, therefore it is left
unchanged.

  Before: After:
   mce_wait  mce_chrdev_wait
   mce_state_lock  mce_chrdev_state_lock
   open_count     mce_chrdev_open_count
   open_exclu     mce_chrdev_open_exclu
   mce_open  mce_chrdev_open
   mce_release    mce_chrdev_release
   mce_read_mutex  mce_chrdev_read_mutex
   mce_read  mce_chrdev_read
   mce_poll  mce_chrdev_poll
   mce_ioctl      mce_chrdev_ioctl
   mce_log_device  mce_chrdev_device

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