mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
17006e86a7
Fix the following build errors:
arch/sparc/mm/srmmu.c: In function ‘smp_flush_page_for_dma’:
arch/sparc/mm/srmmu.c:1639:13: error: cast between incompatible function types from ‘void (*)(long unsigned int)’ to ‘void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’ [-Werror=cast-function-type]
1639 | xc1((smpfunc_t) local_ops->page_for_dma, page);
| ^
arch/sparc/mm/srmmu.c: In function ‘smp_flush_cache_mm’:
arch/sparc/mm/srmmu.c:1662:29: error: cast between incompatible function types from ‘void (*)(struct mm_struct *)’ to ‘void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’ [-Werror=cast-function-type]
1662 | xc1((smpfunc_t) local_ops->cache_mm, (unsigned long) mm);
|
[ ... ]
Compile-tested only.
Fixes:
|
||
---|---|---|
.. | ||
fault_32.c | ||
fault_64.c | ||
hugetlbpage.c | ||
hypersparc.S | ||
init_32.c | ||
init_64.c | ||
init_64.h | ||
io-unit.c | ||
iommu.c | ||
leon_mm.c | ||
Makefile | ||
mm_32.h | ||
srmmu_access.S | ||
srmmu.c | ||
swift.S | ||
tlb.c | ||
tsb.c | ||
tsunami.S | ||
ultra.S | ||
viking.S |