opnsense-src/lib/libthr/arch/mips/include
Dimitry Andric 7db7448a10 Also define THR_PAGE_SIZE_MIN for mips
Commit 6173c7833b, which cherry-picked commit c7904405a8 ("Remove
PAGE_SIZE from libthr") to stable/13 resulted in build errors on mips:

/usr/src/lib/libthr/thread/thr_barrier.c:40:50: error: use of undeclared identifier 'THR_PAGE_SIZE_MIN'
_Static_assert(sizeof(struct pthread_barrier) <= THR_PAGE_SIZE_MIN,
                                                 ^

This is because c7904405a8 defined THR_PAGE_SIZE_MIN for all supported
architectures in main/14-CURRENT, but that list no longer includes mips.
Add a similar define for mips, so libthr can build successfully again.

Direct commit to stable/13, since main no longer has mips.

Fixes:		6173c7833b
2022-06-13 20:55:23 +02:00
..
pthread_md.h Also define THR_PAGE_SIZE_MIN for mips 2022-06-13 20:55:23 +02:00
pthread_tls.h Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00