Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: cpu: Clean up MIPS_CPU_* definitions
@ 2015-05-13 15:17 James Hogan
  2015-05-13 15:17 ` James Hogan
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: James Hogan @ 2015-05-13 15:17 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips; +Cc: James Hogan, Markos Chandras

The MIPS_CPU_* definitions are a conflict hotspot, particularly error
prone, and getting increasingly ugly now there are more than 32 of them.

This patchset cleans them up to use shifts instead of hex literals.

James Hogan (2):
  MIPS: cpu: Alter MIPS_CPU_* definitions to fill gap
  MIPS: cpu: Convert MIPS_CPU_* defs to (1ull << x)

 arch/mips/include/asm/cpu.h | 70 ++++++++++++++++++++++-----------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
-- 
2.3.6

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-16  1:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 15:17 [PATCH 0/2] MIPS: cpu: Clean up MIPS_CPU_* definitions James Hogan
2015-05-13 15:17 ` James Hogan
2015-05-13 15:17 ` [PATCH 1/2] MIPS: cpu: Alter MIPS_CPU_* definitions to fill gap James Hogan
2015-05-13 15:17   ` James Hogan
2015-05-15 19:14   ` Ralf Baechle
2015-05-16  1:42     ` Maciej W. Rozycki
2015-05-13 15:17 ` [PATCH 2/2] MIPS: cpu: Convert MIPS_CPU_* defs to (1ull << x) James Hogan
2015-05-13 15:17   ` James Hogan
2015-05-13 15:38   ` Ezequiel Garcia
2015-05-13 16:01     ` James Hogan
2015-05-13 16:01       ` James Hogan
2015-05-13 17:22   ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox