]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: cpu-info: Change the cpu options variable to unsigned long long
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 14 Jul 2014 09:14:02 +0000 (10:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:38 +0000 (00:06 +0200)
commit2a1be6e929992d1d48282afec8b71ecc88db8706
tree16c671d49994320baab9266ca35923433a7a19d4
parent778295eb2c9aba44b86c2b2444dfc73aa6960ed9
MIPS: cpu-info: Change the cpu options variable to unsigned long long

Long integers which are 4 bytes in MIPS32 can't hold new CPU
options anymore, so the type of the 'options' variable is changed
to unsigned long long which allows 32 more cpu options to be defined
for MIPS32

Also, re-arrange the 'options' struct member to avoid potential 4-byte
alignment gap in the middle of the struct.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7324/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-info.h
arch/mips/include/asm/cpu.h