diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2022-10-09 18:37:20 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-10-10 08:24:33 -0400 |
commit | 2928b71a69778c45c129788da24678a53ff3f562 (patch) | |
tree | 49d41532e2cc1e528c8d64b2164e771915eb05ec | |
parent | af756195853a7a09104e6c9ea2ee4f15f3a16cf6 (diff) | |
download | rockbox-2928b71a69.tar.gz rockbox-2928b71a69.zip |
mips: Work around an issue with GCC 8.
Change-Id: I9867674978ab6d4c99f5fa67c93e5b830531aefd
-rw-r--r-- | firmware/target/mips/mmu-mips.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/mips/mmu-mips.h b/firmware/target/mips/mmu-mips.h index b8f5ff0143..ca865f9909 100644 --- a/firmware/target/mips/mmu-mips.h +++ b/firmware/target/mips/mmu-mips.h @@ -36,7 +36,11 @@ void map_address(unsigned long virtual, unsigned long physical, void mmu_init(void); /* Commits entire DCache */ -MIPS_CACHEFUNC_API(void, commit_dcache, (void)); +#if 0 /* NOTE: This is currently aliased to commit_discard_dcache. Causes compilation errors with newer GCC if we try to assign it to a section here */ +//MIPS_CACHEFUNC_API(void, commit_dcache, (void)); +#else +void commit_dcache(void); +#endif /* Commit and discard entire DCache, will do writeback */ MIPS_CACHEFUNC_API(void, commit_discard_dcache, (void)); |