aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/serial_core.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-05-13 16:17:14 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:01:56 +0200
commit0c94fa33b4de55a0dcb60519ba04a0fd49da124d (patch)
tree97374aecf740e169328c5de6806dee8bb96e548a /include/uapi/linux/serial_core.h
parentMIPS: cpu: Alter MIPS_CPU_* definitions to fill gap (diff)
downloadlinux-dev-0c94fa33b4de55a0dcb60519ba04a0fd49da124d.tar.xz
linux-dev-0c94fa33b4de55a0dcb60519ba04a0fd49da124d.zip
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 'include/uapi/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions