mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
The build of tilegx allmodconfig fails with:
../arch/tile/include/asm/div64.h:5:15: error: unknown type name 'u64'
static inline u64 mul_u32_u32(u32 a, u32 b)
^~~
../arch/tile/include/asm/div64.h:5:31: error: unknown type name 'u32'
static inline u64 mul_u32_u32(u32 a, u32 b)
^~~
../arch/tile/include/asm/div64.h:5:38: error: unknown type name 'u32'
static inline u64 mul_u32_u32(u32 a, u32 b)
^~~
In file included from ../fs/ubifs/ubifs.h:26:0,
from ../fs/ubifs/shrinker.c:42:
../include/linux/math64.h: In function 'mul_u64_u32_shr':
../arch/tile/include/asm/div64.h:9:21: error: implicit declaration of
function 'mul_u32_u32' [-Werror=implicit-function-declaration]
Include the linux/types.h in tiles div64.h to slve the problem.
Fixes:
|
||
|---|---|---|
| .. | ||
| asm-offsets.h | ||
| atomic.h | ||
| atomic_32.h | ||
| atomic_64.h | ||
| backtrace.h | ||
| barrier.h | ||
| bitops.h | ||
| bitops_32.h | ||
| bitops_64.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| cmpxchg.h | ||
| compat.h | ||
| current.h | ||
| delay.h | ||
| device.h | ||
| div64.h | ||
| dma-mapping.h | ||
| dma.h | ||
| elf.h | ||
| fixmap.h | ||
| ftrace.h | ||
| futex.h | ||
| hardirq.h | ||
| hardwall.h | ||
| highmem.h | ||
| homecache.h | ||
| hugetlb.h | ||
| hv_driver.h | ||
| ide.h | ||
| insn.h | ||
| io.h | ||
| irq.h | ||
| irq_work.h | ||
| irqflags.h | ||
| jump_label.h | ||
| Kbuild | ||
| kdebug.h | ||
| kexec.h | ||
| kgdb.h | ||
| kmap_types.h | ||
| kprobes.h | ||
| linkage.h | ||
| mmu.h | ||
| mmu_context.h | ||
| mmzone.h | ||
| module.h | ||
| page.h | ||
| pci.h | ||
| percpu.h | ||
| perf_event.h | ||
| pgalloc.h | ||
| pgtable.h | ||
| pgtable_32.h | ||
| pgtable_64.h | ||
| pmc.h | ||
| processor.h | ||
| ptrace.h | ||
| sections.h | ||
| setup.h | ||
| sigframe.h | ||
| signal.h | ||
| smp.h | ||
| spinlock.h | ||
| spinlock_32.h | ||
| spinlock_64.h | ||
| spinlock_types.h | ||
| stack.h | ||
| string.h | ||
| switch_to.h | ||
| syscall.h | ||
| syscalls.h | ||
| thread_info.h | ||
| tile-desc.h | ||
| tile-desc_32.h | ||
| tile-desc_64.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| topology.h | ||
| traps.h | ||
| uaccess.h | ||
| unaligned.h | ||
| unistd.h | ||
| user.h | ||
| vdso.h | ||
| vga.h | ||
| word-at-a-time.h | ||