public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: hd@cavy.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test11-wli-2
Date: Thu, 11 Dec 2003 12:15:42 -0800	[thread overview]
Message-ID: <20031211201542.GP19856@holomorphy.com> (raw)
In-Reply-To: <20031211201213.GA12438@chiara.cavy.de>

On Wed Dec 10 2003, William Lee Irwin III wrote:
> > Successfully tested on a Thinkpad T21 
> [....]

On Thu, Dec 11, 2003 at 09:12:13PM +0100, Heinz Diehl wrote:
> Compiling -wli-2 fails showing this:
> 
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
>  fs/built-in.o(.text+0x29e6a): In function proc_task_readdir':
>  : undefined reference to __cmpdi2'
>  fs/built-in.o(.text+0x29e7d): In function proc_task_readdir':
>  : undefined reference to __cmpdi2'
>  make: *** [.tmp_vmlinux1] Error 1
> Greetings, Heinz.

Looks like I dropped this by misake (originally sent in by Hugang):


-- wli


diff -prauN wli-2.6.0-test11-32/fs/proc/base.c wli-2.6.0-test11-33/fs/proc/base.c
--- wli-2.6.0-test11-32/fs/proc/base.c	2003-12-04 08:15:58.000000000 -0800
+++ wli-2.6.0-test11-33/fs/proc/base.c	2003-12-05 01:48:55.000000000 -0800
@@ -1673,12 +1673,13 @@ static int proc_task_readdir(struct file
 	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)

  reply	other threads:[~2003-12-11 20:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11  5:29 2.6.0-test11-wli-2 William Lee Irwin III
2003-12-11 20:12 ` 2.6.0-test11-wli-2 Heinz Diehl
2003-12-11 20:15   ` William Lee Irwin III [this message]
2003-12-11 20:20   ` 2.6.0-test11-wli-2 Heinz Diehl
2003-12-13  1:27 ` 2.6.0-test11-wli-2 William Lee Irwin III
2003-12-13  8:45   ` 2.6.0-test11-wli-2 Yaroslav Rastrigin
2003-12-13 12:12     ` 2.6.0-test11-wli-2 William Lee Irwin III
2003-12-13 19:01 ` 2.6.0-test11-wli-2 Gabor MICSKO
2003-12-13 19:05   ` 2.6.0-test11-wli-2 William Lee Irwin III
2003-12-13 21:09     ` 2.6.0-test11-wli-2 William Lee Irwin III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031211201542.GP19856@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=hd@cavy.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox