Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: Remove unusual Unicode characters from comments

We've accumulated a few unusual Unicode characters in arch/x86/
over the years, substitute them with their proper ASCII equivalents.

A few of them were a whitespace equivalent: ' ' - the use was harmless.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org

+15 -15
+6 -6
arch/x86/events/intel/uncore_snbep.c
··· 280 280 * | [63] | 00h | VALID - When set, indicates the CPU bus 281 281 * numbers have been initialized. (RO) 282 282 * |[62:48]| --- | Reserved 283 - * |[47:40]| 00h | BUS_NUM_5 — Return the bus number BIOS assigned 283 + * |[47:40]| 00h | BUS_NUM_5 - Return the bus number BIOS assigned 284 284 * CPUBUSNO(5). (RO) 285 - * |[39:32]| 00h | BUS_NUM_4 — Return the bus number BIOS assigned 285 + * |[39:32]| 00h | BUS_NUM_4 - Return the bus number BIOS assigned 286 286 * CPUBUSNO(4). (RO) 287 - * |[31:24]| 00h | BUS_NUM_3 — Return the bus number BIOS assigned 287 + * |[31:24]| 00h | BUS_NUM_3 - Return the bus number BIOS assigned 288 288 * CPUBUSNO(3). (RO) 289 - * |[23:16]| 00h | BUS_NUM_2 — Return the bus number BIOS assigned 289 + * |[23:16]| 00h | BUS_NUM_2 - Return the bus number BIOS assigned 290 290 * CPUBUSNO(2). (RO) 291 - * |[15:8] | 00h | BUS_NUM_1 — Return the bus number BIOS assigned 291 + * |[15:8] | 00h | BUS_NUM_1 - Return the bus number BIOS assigned 292 292 * CPUBUSNO(1). (RO) 293 - * | [7:0] | 00h | BUS_NUM_0 — Return the bus number BIOS assigned 293 + * | [7:0] | 00h | BUS_NUM_0 - Return the bus number BIOS assigned 294 294 * CPUBUSNO(0). (RO) 295 295 */ 296 296 #define SKX_MSR_CPU_BUS_NUMBER 0x300
+5 -5
arch/x86/include/asm/elf.h
··· 283 283 * 284 284 * The decision process for determining the results are: 285 285 * 286 - *              CPU: | lacks NX*  | has NX, ia32     | has NX, x86_64 | 287 - * ELF:              |            |                  |                | 286 + * CPU: | lacks NX* | has NX, ia32 | has NX, x86_64 | 287 + * ELF: | | | | 288 288 * ---------------------|------------|------------------|----------------| 289 - * missing PT_GNU_STACK | exec-all   | exec-all         | exec-none      | 290 - * PT_GNU_STACK == RWX  | exec-stack | exec-stack       | exec-stack     | 291 - * PT_GNU_STACK == RW   | exec-none  | exec-none        | exec-none      | 289 + * missing PT_GNU_STACK | exec-all | exec-all | exec-none | 290 + * PT_GNU_STACK == RWX | exec-stack | exec-stack | exec-stack | 291 + * PT_GNU_STACK == RW | exec-none | exec-none | exec-none | 292 292 * 293 293 * exec-all : all PROT_READ user mappings are executable, except when 294 294 * backed by files on a noexec-filesystem.
+1 -1
arch/x86/include/asm/nospec-branch.h
··· 33 33 34 34 /* 35 35 * Google experimented with loop-unrolling and this turned out to be 36 - * the optimal version — two calls, each with their own speculation 36 + * the optimal version - two calls, each with their own speculation 37 37 * trap should their return address end up getting used, in a loop. 38 38 */ 39 39 #define __FILL_RETURN_BUFFER(reg, nr, sp) \
+3 -3
arch/x86/platform/pvh/head.S
··· 30 30 * the boot start info structure. 31 31 * - `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared. 32 32 * - `cr4`: all bits are cleared. 33 - * - `cs `: must be a 32-bit read/execute code segment with a base of ‘0’ 34 - * and a limit of ‘0xFFFFFFFF’. The selector value is unspecified. 33 + * - `cs `: must be a 32-bit read/execute code segment with a base of `0` 34 + * and a limit of `0xFFFFFFFF`. The selector value is unspecified. 35 35 * - `ds`, `es`: must be a 32-bit read/write data segment with a base of 36 - * ‘0’ and a limit of ‘0xFFFFFFFF’. The selector values are all 36 + * `0` and a limit of `0xFFFFFFFF`. The selector values are all 37 37 * unspecified. 38 38 * - `tr`: must be a 32-bit TSS (active) with a base of '0' and a limit 39 39 * of '0x67'.