linux-next: build failure after merge of the crypto tree

From: Stephen Rothwell
Date: Wed Apr 16 2025 - 21:52:22 EST


Hi all,

After merging the crypto tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

arch/powerpc/lib/crc32-glue.c: In function 'crc32c_arch':
arch/powerpc/lib/crc32-glue.c:44:17: error: implicit declaration of function 'pagefault_disable'; did you mean 'preempt_disable'? [-Wimplicit-function-declaration]
44 | pagefault_disable();
| ^~~~~~~~~~~~~~~~~
| preempt_disable
arch/powerpc/lib/crc32-glue.c:48:17: error: implicit declaration of function 'pagefault_enable'; did you mean 'preempt_enable'? [-Wimplicit-function-declaration]
48 | pagefault_enable();
| ^~~~~~~~~~~~~~~~
| preempt_enable
arch/powerpc/lib/crc-t10dif-glue.c: In function 'crc_t10dif_arch':
arch/powerpc/lib/crc-t10dif-glue.c:48:17: error: implicit declaration of function 'pagefault_disable'; did you mean 'preempt_disable'? [-Wimplicit-function-declaration]
48 | pagefault_disable();
| ^~~~~~~~~~~~~~~~~
| preempt_disable
arch/powerpc/lib/crc-t10dif-glue.c:52:17: error: implicit declaration of function 'pagefault_enable'; did you mean 'preempt_enable'? [-Wimplicit-function-declaration]
52 | pagefault_enable();
| ^~~~~~~~~~~~~~~~
| preempt_enable

Presumably caused by commit

fcfbdddc6f02 ("crypto: ctr - Remove unnecessary header inclusions")

I have used the crypto tree from next-20250416 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgp12hSAkNh90.pgp
Description: OpenPGP digital signature