[PATCH 0/2] MIPS: cpu: Clean up MIPS_CPU_* definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
Cc: Markos Chandras <markos.chandras@xxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
-- 
2.3.6






[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux