diff options
| author | Michael Ellerman <[email protected]> | 2024-03-06 12:58:52 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-03-07 12:06:19 +0000 |
| commit | c2e5d70cf05b48bfbd5b6625bbd0ec3052cecd5d (patch) | |
| tree | b9b2da015b14e8c3e4877753020dc6592a1620a3 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | powerpc/64s: Fix get_hugepd_cache_index() build failure (diff) | |
| download | kernel-c2e5d70cf05b48bfbd5b6625bbd0ec3052cecd5d.tar.gz kernel-c2e5d70cf05b48bfbd5b6625bbd0ec3052cecd5d.zip | |
powerpc/83xx: Fix build failure with FPU=n
Building eg. 83xx/mpc832x_rdb_defconfig with FPU=n, fails with:
arch/powerpc/platforms/83xx/suspend.c: In function 'mpc83xx_suspend_enter':
arch/powerpc/platforms/83xx/suspend.c:209:17: error: implicit declaration of function 'enable_kernel_fp'
209 | enable_kernel_fp();
Fix it by providing an enable_kernel_fp() stub for FPU=n builds,
which allows using IS_ENABLED(CONFIG_PPC_FPU) around the call to
enable_kernel_fp().
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
