diff options
author | Paul Mackerras <paulus@samba.org> | 2007-02-07 23:02:35 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-07 23:02:35 -0500 |
commit | 12e86f92fcfe4f0bcab0ad7fa4088a64c60d9b38 (patch) | |
tree | 37321a7dfd382dc2b3325d35af3acf5e9f34d482 /include/asm-powerpc | |
parent | f03e64f2ca6ee3d0b7824536b1940497701fe766 (diff) |
[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>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/firmware.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/firmware.h b/include/asm-powerpc/firmware.h index abba808cc53c..3671c128f271 100644 --- a/include/asm-powerpc/firmware.h +++ b/include/asm-powerpc/firmware.h | |||
@@ -44,6 +44,7 @@ | |||
44 | #define FW_FEATURE_LPAR ASM_CONST(0x0000000000400000) | 44 | #define FW_FEATURE_LPAR ASM_CONST(0x0000000000400000) |
45 | #define FW_FEATURE_PS3_LV1 ASM_CONST(0x0000000000800000) | 45 | #define FW_FEATURE_PS3_LV1 ASM_CONST(0x0000000000800000) |
46 | #define FW_FEATURE_BEAT ASM_CONST(0x0000000001000000) | 46 | #define FW_FEATURE_BEAT ASM_CONST(0x0000000001000000) |
47 | #define FW_FEATURE_BULK_REMOVE ASM_CONST(0x0000000002000000) | ||
47 | 48 | ||
48 | #ifndef __ASSEMBLY__ | 49 | #ifndef __ASSEMBLY__ |
49 | 50 | ||