]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: generate names for /proc/cpuinfo from <asm/cpufeature.h>
authorH. Peter Anvin <hpa@zytor.com>
Thu, 28 Aug 2008 00:56:44 +0000 (17:56 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 Aug 2008 02:23:22 +0000 (19:23 -0700)
commit7414aa41a63348c3bc72d8c37b716024c29b6d50
tree8af23e3dbc48f8c4b3ae85bcaafcff0db39eaa11
parentb30a72a7edfc64c8929104d5c2178aca489aa559
x86: generate names for /proc/cpuinfo from <asm/cpufeature.h>

We have had a number of cases where <asm/cpufeature.h> (and its
predecessors) have diverged substantially from the names list in
/proc/cpuinfo.  This patch generates the latter from the former.

It retains the option for explicitly overriding the strings, but by
making that require a separate action it should at least be less
likely to happen.

It would be good to do a future pass and rename strings that are
gratuituously different in the kernel (/proc/cpuinfo is a userspace
interface and must remain constant.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/mkcpustr.c
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/feature_names.c [deleted file]
arch/x86/kernel/cpu/mkcapflags.pl [new file with mode: 0644]
arch/x86/kernel/cpu/powerflags.c [new file with mode: 0644]
include/asm-x86/cpufeature.h