summaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea/ehea_qmr.h
diff options
context:
space:
mode:
authorHannes Hering <hannes.hering@linux.vnet.ibm.com>2008-10-16 11:36:42 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-10-22 06:22:17 -0400
commitd4f12daf7ba4efc506c377a9591ecdb692641fe5 (patch)
treec2a94e5f6a012adfc94b52a30daed50229320edb /drivers/net/ehea/ehea_qmr.h
parent93fbaae188fba7c2a6e458f62e1f61439caebfc8 (diff)
downloadtalos-obmc-linux-d4f12daf7ba4efc506c377a9591ecdb692641fe5.tar.gz
talos-obmc-linux-d4f12daf7ba4efc506c377a9591ecdb692641fe5.zip
ehea: Fix memory hotplug support
This patch implements the memory notifier to update the busmap instantly instead of rebuilding the whole map. This is necessary because walk_memory_resource provides different information than required during memory hotplug. Signed-off-by: Hannes Hering <hering2@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ehea/ehea_qmr.h')
-rw-r--r--drivers/net/ehea/ehea_qmr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ehea/ehea_qmr.h b/drivers/net/ehea/ehea_qmr.h
index 0bb6f92fa2f8..1e58dc06b7d2 100644
--- a/drivers/net/ehea/ehea_qmr.h
+++ b/drivers/net/ehea/ehea_qmr.h
@@ -378,6 +378,8 @@ int ehea_rem_mr(struct ehea_mr *mr);
void ehea_error_data(struct ehea_adapter *adapter, u64 res_handle);
+int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages);
+int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages);
int ehea_create_busmap(void);
void ehea_destroy_busmap(void);
u64 ehea_map_vaddr(void *caddr);
OpenPOWER on IntegriCloud