lkml.org 
[lkml]   [2004]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: shmem_file_setup not exported
From
Date
Hugh Dickins <hugh@veritas.com> writes:

> On Sat, 6 Nov 2004, Måns Rullgård wrote:
>> I noticed this change in mm/shmem.c:
>>
>> -EXPORT_SYMBOL(shmem_file_setup);
>>
>> Is there a reason for this, other than nobody using it?
>
> That's the reason hch rightly removed the export, yes.
> ipc/shm.c does use it, but it's never a module, so doesn't need export.
> No other reason, beyond that it's appropriate to minimize exports.
> If you want to use it from your module, just patch the export back.

That makes using the module more complicated. I don't really care
much, I'm not actively using the module. I was just wondering whether
using it was incredibly silly for some reason.

--
Måns Rullgård
mru@inprovide.com
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.032 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site