]> git.baikalelectronics.ru Git - kernel.git/commit
x86, boot: Rename get_flags() and check_flags() to *_cpuflags()
authorH. Peter Anvin <hpa@linux.intel.com>
Sun, 13 Oct 2013 11:08:56 +0000 (04:08 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Sun, 13 Oct 2013 11:08:56 +0000 (04:08 -0700)
commitc2ce7144b27e57c2965b69392c4c72e996a08970
tree54a07dd9d29272246cef06edf26b9104dbfd7ada
parent6443757d5a554bf4af2744928b2882816068d763
x86, boot: Rename get_flags() and check_flags() to *_cpuflags()

When a function is used in more than one file it may not be possible
to immediately tell from context what the intended meaning is.  As
such, it is more important that the naming be self-evident.  Thus,
change get_flags() to get_cpuflags().

For consistency, change check_flags() to check_cpuflags() even though
it is only used in cpucheck.c.

Link: http://lkml.kernel.org/r/1381450698-28710-2-git-send-email-keescook@chromium.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/compressed/cpuflags.c
arch/x86/boot/cpucheck.c
arch/x86/boot/cpuflags.c
arch/x86/boot/cpuflags.h