diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/lpar.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c index f129040d974c..5d3ea9f60dd7 100644 --- a/arch/powerpc/platforms/pseries/lpar.c +++ b/arch/powerpc/platforms/pseries/lpar.c | |||
@@ -627,6 +627,18 @@ static void pSeries_lpar_flush_hash_range(unsigned long number, int local) | |||
627 | spin_unlock_irqrestore(&pSeries_lpar_tlbie_lock, flags); | 627 | spin_unlock_irqrestore(&pSeries_lpar_tlbie_lock, flags); |
628 | } | 628 | } |
629 | 629 | ||
630 | static int __init disable_bulk_remove(char *str) | ||
631 | { | ||
632 | if (strcmp(str, "off") == 0 && | ||
633 | firmware_has_feature(FW_FEATURE_BULK_REMOVE)) { | ||
634 | printk(KERN_INFO "Disabling BULK_REMOVE firmware feature"); | ||
635 | powerpc_firmware_features &= ~FW_FEATURE_BULK_REMOVE; | ||
636 | } | ||
637 | return 1; | ||
638 | } | ||
639 | |||
640 | __setup("bulk_remove=", disable_bulk_remove); | ||
641 | |||
630 | void __init hpte_init_lpar(void) | 642 | void __init hpte_init_lpar(void) |
631 | { | 643 | { |
632 | ppc_md.hpte_invalidate = pSeries_lpar_hpte_invalidate; | 644 | ppc_md.hpte_invalidate = pSeries_lpar_hpte_invalidate; |