aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-09-06 16:16:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-06 16:16:01 -0400
commit1bda20da20e5c64919efcb507a84e192deed1c60 (patch)
treec0c6942fad5f73db57c02ac46dbc80657a67d772 /arch/ia64
parent4de9ad9bc08b4953fc03336ad38908496e2f8826 (diff)
parent44fd81fe7eb8029a37ec83f15d4ef3585dd81bb6 (diff)
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
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/bitops.h8
-rw-r--r--arch/ia64/include/asm/dmi.h2
2 files changed, 2 insertions, 8 deletions
diff --git a/arch/ia64/include/asm/bitops.h b/arch/ia64/include/asm/bitops.h
index 8e20bff39f79..c27eccd33349 100644
--- a/arch/ia64/include/asm/bitops.h
+++ b/arch/ia64/include/asm/bitops.h
@@ -425,13 +425,7 @@ __fls (unsigned long x)
425 425
426#include <asm-generic/bitops/fls64.h> 426#include <asm-generic/bitops/fls64.h>
427 427
428/* 428#include <asm-generic/bitops/builtin-ffs.h>
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)
435 429
436/* 430/*
437 * hweightN: returns the hamming weight (i.e. the number 431 * hweightN: returns the hamming weight (i.e. the number
diff --git a/arch/ia64/include/asm/dmi.h b/arch/ia64/include/asm/dmi.h
index 1ed4c8fedb83..185d3d18d0ec 100644
--- a/arch/ia64/include/asm/dmi.h
+++ b/arch/ia64/include/asm/dmi.h
@@ -7,6 +7,6 @@
7/* Use normal IO mappings for DMI */ 7/* Use normal IO mappings for DMI */
8#define dmi_ioremap ioremap 8#define dmi_ioremap ioremap
9#define dmi_iounmap(x,l) iounmap(x) 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#endif 12#endif