diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-13 01:43:25 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-13 01:43:25 -0500 |
commit | d9bc125caf592b7d081021f32ce5b717efdf70c8 (patch) | |
tree | 263b7066ba22ddce21db610c0300f6eaac6f2064 /arch/ppc/lib/rheap.c | |
parent | 43d78ef2ba5bec26d0315859e8324bfc0be23766 (diff) | |
parent | ec2f9d1331f658433411c58077871e1eef4ee1b4 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_spkm3_token.c
net/sunrpc/clnt.c
Merge with mainline and fix conflicts.
Diffstat (limited to 'arch/ppc/lib/rheap.c')
-rw-r--r-- | arch/ppc/lib/rheap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc/lib/rheap.c b/arch/ppc/lib/rheap.c index 31e511856dc5..d40700795a9c 100644 --- a/arch/ppc/lib/rheap.c +++ b/arch/ppc/lib/rheap.c | |||
@@ -14,6 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/kernel.h> | ||
17 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
18 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
19 | 20 | ||
@@ -654,7 +655,7 @@ void rh_dump(rh_info_t * info) | |||
654 | int maxnr; | 655 | int maxnr; |
655 | int i, nr; | 656 | int i, nr; |
656 | 657 | ||
657 | maxnr = sizeof(st) / sizeof(st[0]); | 658 | maxnr = ARRAY_SIZE(st); |
658 | 659 | ||
659 | printk(KERN_INFO | 660 | printk(KERN_INFO |
660 | "info @0x%p (%d slots empty / %d max)\n", | 661 | "info @0x%p (%d slots empty / %d max)\n", |