Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'please-pull-misc-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux

Pull ia64 fixes from Tony Luck:
"Couple of small cleanups for ia64"

* tag 'please-pull-misc-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
[IA64] Use asm-generic/bitops/builtin-ffs.h
[IA64] dmi.h: Make dmi_alloc use kzalloc

+2 -8
+1 -7
arch/ia64/include/asm/bitops.h
··· 425 425 426 426 #include <asm-generic/bitops/fls64.h> 427 427 428 - /* 429 - * ffs: find first bit set. This is defined the same way as the libc and 430 - * compiler builtin ffs routines, therefore differs in spirit from the above 431 - * ffz (man ffs): it operates on "int" values only and the result value is the 432 - * bit number + 1. ffs(0) is defined to return zero. 433 - */ 434 - #define ffs(x) __builtin_ffs(x) 428 + #include <asm-generic/bitops/builtin-ffs.h> 435 429 436 430 /* 437 431 * hweightN: returns the hamming weight (i.e. the number
+1 -1
arch/ia64/include/asm/dmi.h
··· 7 7 /* Use normal IO mappings for DMI */ 8 8 #define dmi_ioremap ioremap 9 9 #define dmi_iounmap(x,l) iounmap(x) 10 - #define dmi_alloc(l) kmalloc(l, GFP_ATOMIC) 10 + #define dmi_alloc(l) kzalloc(l, GFP_ATOMIC) 11 11 12 12 #endif