diff options
| author | 2015-05-13 16:17:14 +0100 | |
|---|---|---|
| committer | 2016-05-13 14:01:56 +0200 | |
| commit | 0c94fa33b4de55a0dcb60519ba04a0fd49da124d (patch) | |
| tree | 97374aecf740e169328c5de6806dee8bb96e548a /scripts/basic | |
| parent | MIPS: cpu: Alter MIPS_CPU_* definitions to fill gap (diff) | |
MIPS: cpu: Convert MIPS_CPU_* defs to (1ull << x)
The MIPS_CPU_* definitions have now filled the first 32-bits, and are
getting longer since they're written in hex without zero padding. Adding
my 8 extra MIPS_CPU_* definitions which I haven't upstreamed yet this is
getting increasingly ugly as the comments get shifted progressively to
the right. Its also error prone, and I've seen this cause mistakes on 3
separate occasions now, not helped by it being a conflict hotspot.
Convert all the MIPS_CPU_* definitions to the form (1ull << x). Humans
are better at incrementing than shifting.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10045/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
