powerpc/book3e: Fix CPU feature handling on 64-bit e5500
authorKumar Gala <galak@kernel.crashing.org>
Wed, 6 Apr 2011 05:11:06 +0000 (00:11 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 12 Apr 2011 11:29:21 +0000 (06:29 -0500)
commit11ed0db9f6c7811233632d2ab79c50c011b89902
tree675476cea74f126bfd429f586ebb21a4e6a137d6
parent07d9fce24d871785dbd25458469032fea73f17b8
powerpc/book3e: Fix CPU feature handling on 64-bit e5500

The CPU_FTRS_POSSIBLE and CPU_FTRS_ALWAYS defines did not encompass
e5500 CPU features when built for 64-bit.  This causes issues with
cpu_has_feature() as it utilizes the POSSIBLE & ALWAYS defines as part
of its check.

Create a unique CPU_FTRS_E5500 (as its different from CPU_FTRS_E500MC),
created a new group for 64-bit Book3e based CPUs and add CPU_FTRS_E5500
to that group.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/cputable.c