linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauricio Lin <mauriciolin@gmail.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.12-rc4-mm2: proc-pid-smaps.patch broke nommu
Date: Fri, 20 May 2005 22:39:31 -0400	[thread overview]
Message-ID: <3f250c71050520193921f76af8@mail.gmail.com> (raw)
In-Reply-To: <3f250c7105052019194934be66@mail.gmail.com>

Hi Adrian,

I guess that the code below you have to include in the
fs/proc/task_nommu.c. But I would like to replicate the error you
found and apply the code below to verify if it is correct. So if you
can explain how you got this error I can test the code below. If you
want to test the code below by yourself, let me know about the result
please.

static int show_smap(struct seq_file *m, void *v)
{
	return 0;
}

struct seq_operations proc_pid_smaps_op = {
	.start	= m_start,
	.next	= m_next,
	.stop	= m_stop,
	.show	= show_smap
};

BR,

Mauricio Lin.

On 5/20/05, Mauricio Lin <mauriciolin@gmail.com> wrote:
> Hi Adrian,
> 
> How did you get this error? What is your configuration?
> 
> I would like to replicate it.
> 
> BR,
> 
> Mauricio Lin.
> 
> On 5/16/05, Adrian Bunk <bunk@stusta.de> wrote:
> > It seems proc-pid-smaps.patch is guilty for this nommu breakage in -mm:
> >
> > <--  snip  -->
> >
> > ...
> >   LD      vmlinux
> > fs/built-in.o(.text+0x32b08): In function `smaps_open':
> > /usr/src/ctest/mm/kernel/fs/proc/base.c:560: undefined reference to `_proc_pid_smaps_op'
> > make[1]: *** [vmlinux] Error 1
> >
> > <--  snip  -->
> >
> > cu
> > Adrian
> >
> > --
> >
> >        "Is there not promise of rain?" Ling Tan asked suddenly out
> >         of the darkness. There had been need of rain for many days.
> >        "Only a promise," Lao Er said.
> >                                        Pearl S. Buck - Dragon Seed
> >
> >
>

  reply	other threads:[~2005-05-21  2:39 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16  9:13 2.6.12-rc4-mm2 Andrew Morton
2005-05-16  9:25 ` 2.6.12-rc4-mm2 Russell King
2005-05-16 10:50 ` 2.6.12-rc4-mm2 Danny ter Haar
2005-05-16 11:17   ` 2.6.12-rc4-mm2 Alexey Dobriyan
2005-05-16 11:38     ` 2.6.12-rc4-mm2 Danny ter Haar
2005-05-16 12:15       ` 2.6.12-rc4-mm2 Alexey Dobriyan
2005-05-16 17:11         ` 2.6.12-rc4-mm2 Danny ter Haar
2005-05-16 17:43           ` 2.6.12-rc4-mm2 Alexey Dobriyan
2005-05-16 19:30             ` 2.6.12-rc4-mm2 Danny ter Haar
2005-05-16 12:30 ` 2.6.12-rc4-mm2 Brice Goglin
2005-05-16 17:46 ` 2.6.12-rc4-mm2, alpha and mips broke Jan Dittmer
2005-05-16 20:09   ` Andrew Morton
2005-05-16 19:18 ` 2.6.12-rc4-mm2: proc-pid-smaps.patch broke nommu Adrian Bunk
2005-05-21  2:19   ` Mauricio Lin
2005-05-21  2:39     ` Mauricio Lin [this message]
2005-07-21 15:04     ` Adrian Bunk
2005-05-17  9:06 ` 2.6.12-rc4-mm2 Brice Goglin
2005-05-17 16:38   ` 2.6.12-rc4-mm2 Richard Purdie
2005-05-18 22:45     ` 2.6.12-rc4-mm2 Richard Purdie
2005-05-18  7:14 ` 2.6.12-rc4-mm2 Coywolf Qi Hunt
2005-05-18 20:26 ` 2.6.12-rc4-mm2 Alexander Nyberg
2005-05-19 14:59 ` 2.6.12-rc4-mm2 Brice Goglin
2005-05-22 21:27 ` [bugfix] try_to_unmap_cluster() passes out-of-bounds pte to pte_unmap() William Lee Irwin III
2005-05-22 22:00   ` Andrew Morton
2005-05-24  0:14   ` Andrew Morton
2005-05-24  2:48     ` William Lee Irwin III
2005-05-24  4:38       ` Hugh Dickins
2005-05-24  8:02         ` Nick Piggin
2007-06-27  0:35 ` Problems with fb console [was Re: 2.6.12-rc4-mm2] J.A. Magallón
2007-06-27  0:54   ` Andrew Morton
2007-06-27 14:21     ` H. Peter Anvin
2007-06-27  7:20   ` DervishD

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=3f250c71050520193921f76af8@mail.gmail.com \
    --to=mauriciolin@gmail.com \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.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;
as well as URLs for NNTP newsgroup(s).