1
0
Fork 0
forked from len0rd/rockbox

mips: Work around an issue with GCC 8.

Change-Id: I9867674978ab6d4c99f5fa67c93e5b830531aefd
This commit is contained in:
Solomon Peachy 2022-10-09 18:37:20 -04:00
parent af75619585
commit 2928b71a69

View file

@ -36,7 +36,11 @@ void map_address(unsigned long virtual, unsigned long physical,
void mmu_init(void); void mmu_init(void);
/* Commits entire DCache */ /* 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 */ /* Commit and discard entire DCache, will do writeback */
MIPS_CACHEFUNC_API(void, commit_discard_dcache, (void)); MIPS_CACHEFUNC_API(void, commit_discard_dcache, (void));