]> 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)
commit4da0804dc28500bdc28b95940e090b7433f92790
tree16c671d49994320baab9266ca35923433a7a19d4
parentfe5a8c5c15251b819b3e67433eb380ddee300b31
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