rs6000: Fix up posix_memalign call in _mm_malloc [PR104598]

The uglification changes went in one spot too far and uglified also
the anem of function, posix_memalign should be called like that and
not a non-existent function instead of it.

2022-02-18  Jakub Jelinek  <jakub@redhat.com>

	PR target/104257
	PR target/104598
	* config/rs6000/mm_malloc.h (_mm_malloc): Call posix_memalign
	rather than __posix_memalign.
This commit is contained in:
Jakub Jelinek 2022-02-18 17:21:43 +01:00
parent fe79d652c9
commit df5ed150ee
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ _mm_malloc (size_t __size, size_t __alignment)
return malloc (__size);
if (__alignment < __vec_align)
__alignment = __vec_align;
if (__posix_memalign (&__ptr, __alignment, __size) == 0)
if (posix_memalign (&__ptr, __alignment, __size) == 0)
return __ptr;
else
return NULL;