summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mkcapflags.pl
Commit message (Collapse)AuthorAgeFilesLines
* x86, cpufeature: Remove stray %s, add -w to mkcapflags.plH. Peter Anvin2012-06-261-2/+2
| | | | | | | | | | | | There was a stray %s left from testing, remove it. Add -w to the #! line (which is parsed by Perl even if the Perl interpreter is invoked explicitly on the command line) to catch these kinds of errors in the future. Reported-by: Jean Delvare <khali@linux-fr.org> Link: http://lkml.kernel.org/r/20120626143246.0c9bf301@endymion.delvare Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* x86, cpufeature: Catch duplicate CPU feature stringsH. Peter Anvin2012-06-251-5/+18
| | | | | | | | | | We had a case of duplicate CPU feature strings, a user space ABI violation, for almost two years. Make it a build error so that doesn't happen again. Link: http://lkml.kernel.org/r/4FE34BCB.5050305@linux.intel.com Cc: Jan Beulich <JBeulich@suse.com> Cc: Jean Delvare <khali@linux-fr.org>
* x86: generate names for /proc/cpuinfo from <asm/cpufeature.h>H. Peter Anvin2008-08-271-0/+32
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>
OpenPOWER on IntegriCloud