aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea/ehea_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ehea/ehea_main.c')
-rw-r--r--drivers/net/ehea/ehea_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index 958dacbb4974..40c34bfe2cfa 100644
--- a/drivers/net/ehea/ehea_main.c
+++ b/drivers/net/ehea/ehea_main.c
@@ -3517,12 +3517,14 @@ static int ehea_mem_notifier(struct notifier_block *nb,
3517 /* Readd canceled memory block */ 3517 /* Readd canceled memory block */
3518 case MEM_ONLINE: 3518 case MEM_ONLINE:
3519 ehea_info("memory is going online"); 3519 ehea_info("memory is going online");
3520 set_bit(__EHEA_STOP_XFER, &ehea_driver_flags);
3520 if (ehea_add_sect_bmap(arg->start_pfn, arg->nr_pages)) 3521 if (ehea_add_sect_bmap(arg->start_pfn, arg->nr_pages))
3521 return NOTIFY_BAD; 3522 return NOTIFY_BAD;
3522 ehea_rereg_mrs(NULL); 3523 ehea_rereg_mrs(NULL);
3523 break; 3524 break;
3524 case MEM_GOING_OFFLINE: 3525 case MEM_GOING_OFFLINE:
3525 ehea_info("memory is going offline"); 3526 ehea_info("memory is going offline");
3527 set_bit(__EHEA_STOP_XFER, &ehea_driver_flags);
3526 if (ehea_rem_sect_bmap(arg->start_pfn, arg->nr_pages)) 3528 if (ehea_rem_sect_bmap(arg->start_pfn, arg->nr_pages))
3527 return NOTIFY_BAD; 3529 return NOTIFY_BAD;
3528 ehea_rereg_mrs(NULL); 3530 ehea_rereg_mrs(NULL);