diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2018-03-09 17:14:56 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-16 05:56:13 -0400 |
| commit | 79375ea3ec527f746d5beae8c8f6e8a58740d4a8 (patch) | |
| tree | 68862deeecaeb2c631195ee7d4c523a58272f1bf /include/linux | |
| parent | 1a8429132e1d2ada3832db5b4a0802c49affb750 (diff) | |
mm: remove obsolete alloc_remap()
Tile was the only remaining architecture to implement alloc_remap(),
and since that is being removed, there is no point in keeping this
function.
Removing all callers simplifies the mem_map handling.
Reviewed-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bootmem.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h index a53063e9d7d8..7942a96b1a9d 100644 --- a/include/linux/bootmem.h +++ b/include/linux/bootmem.h | |||
| @@ -364,15 +364,6 @@ static inline void __init memblock_free_late( | |||
| 364 | } | 364 | } |
| 365 | #endif /* defined(CONFIG_HAVE_MEMBLOCK) && defined(CONFIG_NO_BOOTMEM) */ | 365 | #endif /* defined(CONFIG_HAVE_MEMBLOCK) && defined(CONFIG_NO_BOOTMEM) */ |
| 366 | 366 | ||
| 367 | #ifdef CONFIG_HAVE_ARCH_ALLOC_REMAP | ||
| 368 | extern void *alloc_remap(int nid, unsigned long size); | ||
| 369 | #else | ||
| 370 | static inline void *alloc_remap(int nid, unsigned long size) | ||
| 371 | { | ||
| 372 | return NULL; | ||
| 373 | } | ||
| 374 | #endif /* CONFIG_HAVE_ARCH_ALLOC_REMAP */ | ||
| 375 | |||
| 376 | extern void *alloc_large_system_hash(const char *tablename, | 367 | extern void *alloc_large_system_hash(const char *tablename, |
| 377 | unsigned long bucketsize, | 368 | unsigned long bucketsize, |
| 378 | unsigned long numentries, | 369 | unsigned long numentries, |
