building ppc_htab?

Kumar Gala kumar.gala at
Fri Mar 18 04:34:14 EST 2005

On Mar 16, 2005, at 4:11 PM, Tom Rini wrote:

> On Wed, Mar 16, 2005 at 12:57:24AM -0600, Kumar Gala wrote:
> > Is there any reason not to make the following change so we build
> > ppc_htab only on PPC STD MMU?  This would also require fixing up
> > fs/proc/proc_misc.c.
> I could have sworn, but maybe my memory sucks, that we no longer messed
> w/ fs/proc/proc_misc.c for any of the PPC-specific things (since in 2.6
>  you can do all of that proc magic in your 'driver').  So this patch
>  would make a great deal of sense to do, and if it lacks what I'm 
> talking
>  about, we should do that part as well :)

I'm not exactly clear on what you are talking about.  There is this 
snippet in fs/proc/proc_misc.c:

#ifdef CONFIG_PPC32
                 extern struct file_operations ppc_htab_operations;
                 entry = create_proc_entry("ppc_htab", S_IRUGO|S_IWUSR, 
                 if (entry)
                         entry->proc_fops = &ppc_htab_operations;

Are you suggesting this should live elsewhere?  I'm not that familiar 
with proc code.

- kumar

More information about the Linuxppc-dev mailing list