Skip to contentSkip to conversation

s390: Remove unncessary export of arch_pick_mmap_layout

PATCH Martin Schwidefsky 1 participant 1 message Mar 19, 2012 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1332038996.31699.8.camel@deadeye

#1 lore raw
Quoted 21 lines · On Sun, 18 Mar 2012 02:49:56 +0000 Ben Hutchings <[email protected]> wrote:

This function is defined for use in exec, not in modules. No other architecture exports its implementation.

---
 arch/s390/mm/mmap.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/s390/mm/mmap.c +0 -1
index a0155c0..2857c48 100644
@@ -100,7 +100,6 @@ void arch_pick_mmap_layout(struct mm_struct *mm)
 		mm->unmap_area = arch_unmap_area_topdown;
 	}
 }
-EXPORT_SYMBOL_GPL(arch_pick_mmap_layout);
 
 #else
 

arch/s390/mm/mmap.c void arch_pick_mmap_layout(struct mm_struct *mm) · line 178

Quoted 6 lines
arch/s390/mm/mmap.c +0 -1
@@ -175,6 +174,5 @@ void arch_pick_mmap_layout(struct mm_struct *mm)
 		mm->unmap_area = arch_unmap_area_topdown;
 	}
 }
-EXPORT_SYMBOL_GPL(arch_pick_mmap_layout);
 
 #endif

Added the my patch queue. Thanks Ben.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.