diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-05-13 15:17:14 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 12:01:56 (GMT) |
commit | 0c94fa33b4de55a0dcb60519ba04a0fd49da124d (patch) | |
tree | 97374aecf740e169328c5de6806dee8bb96e548a /drivers/tty/n_tracerouter.c | |
parent | c0291f7c735941f2cf5c8d5264c2cc2402b77869 (diff) | |
download | linux-0c94fa33b4de55a0dcb60519ba04a0fd49da124d.tar.xz |
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 'drivers/tty/n_tracerouter.c')
0 files changed, 0 insertions, 0 deletions