KAMEZAWA Hiroyuki
48e94196a5
fix memory hot remove not configured case.
...
Now, arch dependent code around CONFIG_MEMORY_HOTREMOVE is a mess.
This patch cleans up them. This is against 2.6.23-rc6-mm1.
- fix compile failure on ia64/ CONFIG_MEMORY_HOTPLUG && !CONFIG_MEMORY_HOTREMOVE case.
- For !CONFIG_MEMORY_HOTREMOVE, add generic no-op remove_memory(),
which returns -EINVAL.
- removed remove_pages() only used in powerpc.
- removed no-op remove_memory() in i386, sh, sparc64, x86_64.
- only powerpc returns -ENOSYS at memory hot remove(no-op). changes it
to return -EINVAL.
Note:
Currently, only ia64 supports CONFIG_MEMORY_HOTREMOVE. I welcome other
archs if there are requirements and testers.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2007-10-16 09:43:02 -07:00
..
2007-10-13 14:36:18 +01:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 10:47:35 -07:00
2007-10-15 17:56:36 -07:00
2007-10-14 12:41:51 -07:00
2007-10-12 14:55:45 -04:00
2007-10-11 22:24:13 +01:00
2007-10-12 12:40:38 +02:00
2007-10-12 12:50:07 +02:00
2007-10-16 09:42:58 -07:00
2007-10-14 22:57:45 +02:00
2007-10-10 21:15:29 -07:00
2007-10-16 09:42:59 -07:00
2007-10-10 16:55:42 -07:00
2007-10-10 16:54:36 -07:00
2007-10-12 14:51:03 -07:00
2007-10-12 14:51:01 -07:00
2007-10-16 09:42:50 -07:00
2007-10-16 09:42:58 -07:00
2007-10-16 09:43:00 -07:00
2007-10-14 12:41:51 -07:00
2007-10-15 08:12:00 -07:00
2007-10-15 08:12:00 -07:00
2007-10-13 23:56:32 +02:00
2007-10-13 23:56:33 +02:00
2007-10-13 17:47:51 +02:00
2007-10-15 12:26:29 -07:00
2007-10-14 12:41:52 -07:00
2007-10-16 09:42:49 -07:00
2007-10-15 13:41:39 -07:00
2007-10-16 09:42:50 -07:00
2007-10-16 09:43:01 -07:00
2007-10-10 16:55:55 -07:00
2007-10-15 12:26:37 -07:00
2007-10-15 17:56:36 -07:00
2007-10-16 09:42:49 -07:00
2007-10-15 17:00:19 +02:00
2007-10-16 09:43:02 -07:00
2007-10-12 21:27:47 -04:00
2007-10-12 14:51:12 -07:00
2007-10-13 10:18:29 +02:00
2007-10-12 14:55:47 -04:00
2007-10-11 22:11:12 +02:00
2007-10-16 09:43:02 -07:00
2007-10-16 09:42:54 -07:00
2007-10-16 09:43:01 -07:00
2007-10-16 09:43:01 -07:00
2007-10-16 09:43:02 -07:00
2007-10-13 23:56:29 +02:00
2007-10-11 22:11:12 +02:00
2007-10-13 09:52:26 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-10 21:15:29 -07:00
2007-10-16 09:42:58 -07:00
2007-10-16 09:43:02 -07:00
2007-10-16 09:43:02 -07:00
2007-10-16 09:42:55 -07:00
2007-10-16 09:42:50 -07:00
2007-10-12 15:03:18 -07:00
2007-10-12 15:03:18 -07:00
2007-10-12 14:51:07 -07:00
2007-10-16 09:42:53 -07:00
2007-10-11 22:11:12 +02:00
2007-10-14 12:41:52 -07:00
2007-10-10 16:54:11 -07:00
2007-10-10 21:22:05 -07:00
2007-10-16 09:42:53 -07:00
2007-10-14 12:41:51 -07:00
2007-10-10 16:55:33 -07:00
2007-10-16 09:42:50 -07:00
2007-10-15 14:06:58 -07:00
2007-10-16 09:43:00 -07:00
2007-10-16 09:43:01 -07:00
2007-10-14 12:41:51 -07:00
2007-10-12 14:51:12 -07:00
2007-10-15 12:59:43 -07:00
2007-10-15 17:00:19 +02:00
2007-10-12 14:51:09 -07:00
2007-10-12 14:55:34 -07:00
2007-10-12 14:51:04 -07:00
2007-10-15 10:47:35 -07:00
2007-10-12 14:05:17 +10:00