]> 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)
commitee9d3866449d64bc9006f14007b5edf78de3791d
tree7971c9025369b30fab25b416136f40bd24961bbf
parentd00b0f675bda67c81396368affc1a579f668db47
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