aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
authorOscar Salvador <osalvador@suse.de>2024-10-07 09:50:36 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-11-06 20:11:10 -0800
commit5b2f650d593ed4d020228df8563e7ad23abc847f (patch)
treea6c3f93efe4e03d6f47ba1b332e6393c02591a63 /lib
parentmm: drop hugetlb_get_unmapped_area{_*} functions (diff)
downloadwireguard-linux-5b2f650d593ed4d020228df8563e7ad23abc847f.tar.xz
wireguard-linux-5b2f650d593ed4d020228df8563e7ad23abc847f.zip
arch/s390: clean up hugetlb definitions
s390 redefines functions that are already defined (and the same) in include/asm-generic/hugetlb.h. Do as the other architectures: 1) include include/asm-generic/hugetlb.h 2) drop the already defined functions in the generic hugetlb.h and 3) use the __HAVE_ARCH_HUGE_* macros to define our own. This gets rid of quite some code. Link: https://lkml.kernel.org/r/20241007075037.267650-9-osalvador@suse.de Signed-off-by: Oscar Salvador <osalvador@suse.de> Cc: David Hildenbrand <david@redhat.com> Cc: Donet Tom <donettom@linux.ibm.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Peter Xu <peterx@redhat.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions