[PATCH] powerpc: Fix warning in add_memory

arch/powerpc/mm/mem.c: In function `add_memory':
arch/powerpc/mm/mem.c:128: warning: assignment makes integer from pointer without a cast

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Andrew Morton 2006-03-21 23:00:05 -08:00 коммит произвёл Paul Mackerras
Родитель 1d04981669
Коммит 2d0eee14b2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -125,7 +125,7 @@ int __devinit add_memory(u64 start, u64 size)
nid = hot_add_scn_to_nid(start); nid = hot_add_scn_to_nid(start);
pgdata = NODE_DATA(nid); pgdata = NODE_DATA(nid);
start = __va(start); start = (unsigned long)__va(start);
create_section_mapping(start, start + size); create_section_mapping(start, start + size);
/* this should work for most non-highmem platforms */ /* this should work for most non-highmem platforms */