Messages in this thread Patch in this message | | | Date | Fri, 5 Dec 2003 16:14:51 +0800 | From | Hugang <> | Subject | Re: 2.6.0-test11-wli-1 |
| |
On Thu, 4 Dec 2003 12:01:20 -0800 William Lee Irwin III <wli@holomorphy.com> wrote:
> Successfully tested on a Thinkpad T21. Any feedback regarding > performance would be very helpful. Desktop users should notice top(1) > is faster, kernel hackers that kernel compiles are faster, and highmem > users should see much less per-process lowmem overhead.
I got this in ppc. fs/built-in.o: In function `proc_task_readdir': fs/built-in.o(.text+0x2ff44): undefined reference to `__cmpdi2' fs/built-in.o(.text+0x2ff44): relocation truncated to fit: R_PPC_REL24 __cmpdi2 fs/built-in.o(.text+0x2ff6c): undefined reference to `__cmpdi2' fs/built-in.o(.text+0x2ff6c): relocation truncated to fit: R_PPC_REL24 __cmpdi2 make: *** [.tmp_vmlinux1] Error 1
apply the patch should fix it.
Index: fs/proc/base.c =================================================================== --- fs/proc/base.c (revision 3) +++ fs/proc/base.c (working copy) @@ -1673,12 +1673,13 @@ struct inode *inode = dentry->d_inode; int retval = -ENOENT; ino_t ino; + unsigned long pos = filp->f_pos; /* avoiding "long long" filp->f_pos */ if (!pid_alive(proc_task(inode))) goto out; retval = 0; - switch (filp->f_pos) { + switch (pos) { case 0: ino = inode->i_ino; if (filldir(dirent, ".", 1, filp->f_pos, ino, DT_DIR) < 0)
-- Hu Gang / Steve Email : hugang@soulinfo.com, steve@soulinfo.com GPG FinePrint : 4099 3F1D AE01 1817 68F7 D499 A6C2 C418 86C8 610E GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc MSN# : huganglinux@hotmail.com [9:00AM - 5:30PM +8:00] RLU# : 204016 [1999] (Register Linux User) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |