]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Only use H_BULK_REMOVE if the firmware supports it
authorPaul Mackerras <paulus@samba.org>
Thu, 8 Feb 2007 04:02:35 +0000 (15:02 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Feb 2007 04:02:35 +0000 (15:02 +1100)
commit12e86f92fcfe4f0bcab0ad7fa4088a64c60d9b38
tree37321a7dfd382dc2b3325d35af3acf5e9f34d482
parentf03e64f2ca6ee3d0b7824536b1940497701fe766
[POWERPC] Only use H_BULK_REMOVE if the firmware supports it

The previous patch changing pSeries to use H_BULK_REMOVE broke the
JS20 blade, where the firmware doesn't support H_BULK_REMOVE.  This
adds a firmware check so that on machines that don't have H_BULK_REMOVE,
we just use the H_REMOVE call as before.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/firmware.c
arch/powerpc/platforms/pseries/lpar.c
include/asm-powerpc/firmware.h