2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/powerpc/platforms/83xx
Michael Ellerman c2e5d70cf0 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 <mpe@ellerman.id.au>
Link: https://msgid.link/20240306125853.3714578-2-mpe@ellerman.id.au
2024-03-07 23:06:19 +11:00
..
asp834x.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
Kconfig powerpc: drop MPC832x_MDS platform support 2023-04-20 13:21:47 +10:00
km83xx.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
Makefile powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
mcu_mpc8349emitx.c powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
misc.c powerpc: Untangle fixmap.h and pgtable.h and mmu.h 2023-10-19 17:12:44 +11:00
mpc83xx.h powerpc/83xx: Fix style problems in usb.c and remove unneccessary includes from mpc83xx.h 2023-08-18 17:03:13 +10:00
mpc830x_rdb.c powerpc/machdep: Define 'compatibles' property in ppc_md and use it 2024-03-03 22:20:29 +11:00
mpc831x_rdb.c powerpc/machdep: Define 'compatibles' property in ppc_md and use it 2024-03-03 22:20:29 +11:00
mpc832x_rdb.c powerpc: Explicitly include correct DT includes 2023-08-02 22:22:19 +10:00
mpc834x_itx.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
mpc836x_rdk.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
mpc837x_rdb.c powerpc/machdep: Define 'compatibles' property in ppc_md and use it 2024-03-03 22:20:29 +11:00
suspend-asm.S powerpc/83xx: Blacklist mpc83xx_deep_resume() for kprobe 2020-06-02 20:59:09 +10:00
suspend.c powerpc/83xx: Fix build failure with FPU=n 2024-03-07 23:06:19 +11:00
usb_831x.c powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
usb_834x.c powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00
usb_837x.c powerpc/83xx: Split usb.c 2023-08-18 17:03:14 +10:00