mm/memory.c: EXPORT_UNUSED_SYMBOL
Subsystems (2)
PATCH 1/1 mm/memory.c: EXPORT_UNUSED_SYMBOL
This patch marks an unused export as EXPORT_UNUSED_SYMBOL.
Signed-off-by Adrian Bunk <[email protected]>
mm/memory.c renamed from mm/memory.c.old +1 -1
@@ -1863,7 +1863,7 @@return 0 ; } -EXPORT_SYMBOL (vmtruncate_range); +EXPORT_UNUSED_SYMBOL (vmtruncate_range);/* June 2006 */ /* * Primitive swap readahead code. We simply read an aligned block of
mm/memory.c line 1866
Quoted 2 lines · On Fri, 30 Jun 2006 13:32:40 +0200 Adrian Bunk <[email protected]> wrote:
mm/memory.c renamed from mm/memory.c.old +1
-1-EXPORT_SYMBOL (vmtruncate_range); +EXPORT_UNUSED_SYMBOL (vmtruncate_range);/* June 2006 */
vmtruncate_range() is a sensible-looking API, but it's purely for MADV_REMOVE and I don't think it's a thing we intended that filesystems be using, and I don't think that it's a thing which we want to be supporting as an export unless there's a good reason.
So yes, let's give this a try.