Files
tegra-linux-noble/include/linux
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-09 19:59:16 -07:00
2007-09-24 07:15:48 +02:00
2007-09-23 22:17:27 +02:00
2007-10-10 16:53:11 -07:00
2007-10-15 17:56:36 -07:00
2007-09-11 04:22:16 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:02 -07:00
2007-07-31 10:43:05 -05:00
2007-10-16 09:42:58 -07:00
2007-10-16 09:42:58 -07:00
2007-10-13 23:56:33 +02:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:52:04 -07:00
2007-10-14 12:41:52 -07:00
2007-10-16 09:43:01 -07:00
2007-07-31 15:39:41 -07:00
2007-10-15 17:56:36 -07:00
2007-10-16 09:42:49 -07:00
2007-08-26 18:35:34 -07:00
2007-10-16 09:43:02 -07:00
2007-10-12 14:51:12 -07:00
2007-10-13 10:18:29 +02:00
2007-09-11 22:24:45 +01:00
2007-10-10 16:54:03 -07:00
2007-10-16 09:43:01 -07:00
2007-10-16 09:43:02 -07:00
2007-10-11 22:11:12 +02:00
2007-10-09 17:15:11 -04:00
2007-10-16 09:43:02 -07:00
2007-10-16 09:42:50 -07:00
2007-10-16 09:42:53 -07:00
2007-10-16 09:42:53 -07:00
2007-10-16 09:42:50 -07:00
2007-09-20 13:19:59 -07:00
2007-07-31 15:39:39 -07:00
2007-10-12 14:51:12 -07:00
2007-10-15 12:59:43 -07:00
2007-09-19 11:24:18 -07:00