summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/prom.h
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2013-04-24 07:55:08 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-04-26 08:08:21 +0200
commit43c0ea60537d9423f0f1b5c14b0cd0a0b4af5c81 (patch)
tree0583e4dd038d0463ad8859f5d1ce33578d20ee45 /arch/powerpc/include/asm/prom.h
parentpowerpc/pseries: Move architecture vector definitions to prom.h (diff)
downloadlinux-43c0ea60537d9423f0f1b5c14b0cd0a0b4af5c81.tar.xz
linux-43c0ea60537d9423f0f1b5c14b0cd0a0b4af5c81.zip
powerpc/pseries: Use ARRAY_SIZE to iterate over firmware_features_table array
When iterating over the entries in firmware_features_table we only need to go over the actual number of entries in the array instead of declaring it to be bigger and checking to make sure there is a valid entry in every slot. This patch removes the FIRMWARE_MAX_FEATURES #define and replaces the array looping with the use of ARRAY_SIZE(). Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/prom.h')
0 files changed, 0 insertions, 0 deletions