]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Add GENERIC_CPU support for little endian
authorNicholas Piggin <npiggin@gmail.com>
Tue, 20 Feb 2018 19:08:30 +0000 (05:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 1 Apr 2018 11:52:52 +0000 (21:52 +1000)
commite6a7e66950d614b93599c6d9fc1818e28aed7d67
tree7971c9025369b30fab25b416136f40bd24961bbf
parent3dbb88474178220b603400e713ea42cff142c138
powerpc/64: Add GENERIC_CPU support for little endian

Add GENERIC_CPU support for little-endian rather than using POWER8
specific selection for POWER9 and above.

Restrict GENERIC_CPU to POWER8 and above on little endian.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Duplicate GENERIC_CPU to avoid a kbuild warning about the prompt
      being redefined. Spell out that GENERIC means >= POWER4 for BE.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile
arch/powerpc/platforms/Kconfig.cputype