kernel-fxtec-pro1x/arch/sh/mm
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
..
cache-debugfs.c sh: Revert incorrect license string changes. 2007-09-24 17:49:51 +09:00
cache-sh2.c
cache-sh3.c
cache-sh4.c sh: Calculate cache aliases on L2 caches. 2007-09-24 17:00:45 +09:00
cache-sh7705.c
clear_page.S
consistent.c
copy_page.S sh: __copy_user() optimizations for small copies. 2007-09-28 12:36:35 +09:00
extable.c
fault.c During VM oom condition, kill all threads in process group 2007-10-16 09:42:52 -07:00
hugetlbpage.c
init.c fix memory hot remove not configured case. 2007-10-16 09:43:02 -07:00
ioremap.c
Kconfig sh: Support extended mode TLB on SH-X3. 2007-09-27 18:08:46 +09:00
Makefile sh: nommu: Kill off dummy page fault ops for SH-3/4. 2007-09-24 16:40:56 +09:00
numa.c sh: Support for multiple nodes. 2007-06-08 02:43:49 +00:00
pg-nommu.c
pg-sh4.c sh: Fix fs.h removal from mm.h regressions. 2007-07-31 13:01:43 +09:00
pg-sh7705.c
pmb.c sh: Support explicit L1 cache disabling. 2007-09-21 11:57:46 +09:00
tlb-flush.c
tlb-nommu.c
tlb-sh3.c
tlb-sh4.c sh: Fix up extended mode TLB for SH-X2+ cores. 2007-09-21 11:57:55 +09:00