aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ehea')
-rw-r--r--drivers/net/ehea/ehea.h2
-rw-r--r--drivers/net/ehea/ehea_main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h
index 656cf1b8d32b..029631c58f0c 100644
--- a/drivers/net/ehea/ehea.h
+++ b/drivers/net/ehea/ehea.h
@@ -40,7 +40,7 @@
40#include <asm/io.h> 40#include <asm/io.h>
41 41
42#define DRV_NAME "ehea" 42#define DRV_NAME "ehea"
43#define DRV_VERSION "EHEA_0098" 43#define DRV_VERSION "EHEA_0099"
44 44
45/* eHEA capability flags */ 45/* eHEA capability flags */
46#define DLPAR_PORT_ADD_REM 1 46#define DLPAR_PORT_ADD_REM 1
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);