diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2008-04-19 00:33:50 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-29 09:57:52 +0400 |
commit | 57b539269e9eef4dedc533d83c94877bc6b4d44d (patch) | |
tree | 72f481d053215d88ee5156524bf173f5cf11b9ec /lib | |
parent | 80ff974dba8cc432ab81676fc09d3c357cb11276 (diff) | |
download | linux-57b539269e9eef4dedc533d83c94877bc6b4d44d.tar.xz |
[POWERPC] Hotplug memory remove notifications for powerpc
Hotplug memory remove notifier for 64-bit powerpc. This gets invoked
by writing to /proc/ppc64/ofdt the string "remove_node " followed by
the firmware device tree pathname of the node that needs to be removed.
In response, this adjusts the sections and removes sysfs entries by
calling __remove_pages(). Then it calls arch-specific code to get rid
of the hardware MMU mappings for the section of memory.
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Reviewed-by: Michael Ellerman <michael@ellerman.id.au>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions