https://github.com/torvalds/linux
Revision c660439ba90aaaa056f68a5b0fc79f6b9e0506f5 authored by Ravikiran G Thirumalai on 22 December 2005, 22:21:34 UTC, committed by Linus Torvalds on 24 December 2005, 20:30:22 UTC
Fixes a compiler error in node_to_first_cpu, __ffs expects unsigned long as
a parameter; instead cpumask_t was being passed.  The macro
node_to_first_cpu was not yet used in x86_64 and ia64 arches, and so we never
hit this.  This patch replaces __ffs with first_cpu macro, similar to other
arches.

Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran G Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 1224b37
History
Tip revision: c660439ba90aaaa056f68a5b0fc79f6b9e0506f5 authored by Ravikiran G Thirumalai on 22 December 2005, 22:21:34 UTC
[PATCH] x86_64/ia64 : Fix compilation error for node_to_first_cpu
Tip revision: c660439
File Mode Size
Kconfig -rw-r--r-- 4.3 KB
Makefile -rw-r--r-- 737 bytes
bootmem.c -rw-r--r-- 11.1 KB
fadvise.c -rw-r--r-- 2.5 KB
filemap.c -rw-r--r-- 56.5 KB
filemap.h -rw-r--r-- 2.2 KB
filemap_xip.c -rw-r--r-- 10.2 KB
fremap.c -rw-r--r-- 5.8 KB
highmem.c -rw-r--r-- 13.7 KB
hugetlb.c -rw-r--r-- 10.9 KB
internal.h -rw-r--r-- 486 bytes
madvise.c -rw-r--r-- 7.2 KB
memory.c -rw-r--r-- 64.1 KB
memory_hotplug.c -rw-r--r-- 3.4 KB
mempolicy.c -rw-r--r-- 31.5 KB
mempool.c -rw-r--r-- 7.9 KB
mincore.c -rw-r--r-- 4.4 KB
mlock.c -rw-r--r-- 5.3 KB
mmap.c -rw-r--r-- 53.4 KB
mprotect.c -rw-r--r-- 6.5 KB
mremap.c -rw-r--r-- 10.6 KB
msync.c -rw-r--r-- 5.0 KB
nommu.c -rw-r--r-- 27.5 KB
oom_kill.c -rw-r--r-- 7.6 KB
page-writeback.c -rw-r--r-- 22.7 KB
page_alloc.c -rw-r--r-- 64.5 KB
page_io.c -rw-r--r-- 3.6 KB
pdflush.c -rw-r--r-- 6.2 KB
prio_tree.c -rw-r--r-- 6.3 KB
readahead.c -rw-r--r-- 16.4 KB
rmap.c -rw-r--r-- 21.1 KB
shmem.c -rw-r--r-- 55.9 KB
slab.c -rw-r--r-- 94.4 KB
sparse.c -rw-r--r-- 6.6 KB
swap.c -rw-r--r-- 11.9 KB
swap_state.c -rw-r--r-- 9.1 KB
swapfile.c -rw-r--r-- 41.8 KB
thrash.c -rw-r--r-- 2.7 KB
tiny-shmem.c -rw-r--r-- 2.7 KB
truncate.c -rw-r--r-- 8.7 KB
vmalloc.c -rw-r--r-- 14.3 KB
vmscan.c -rw-r--r-- 37.7 KB

back to top