mirror of https://github.com/torvalds/linux.git
segment_eq is only used to implement uaccess_kernel. Just open code uaccess_kernel in the arch uaccess headers and remove one layer of indirection. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Greentime Hu <green.hu@gmail.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Nick Hu <nickhu@andestech.com> Cc: Vincent Chen <deanbo422@gmail.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Palmer Dabbelt <palmer@dabbelt.com> Link: http://lkml.kernel.org/r/20200710135706.537715-5-hch@lst.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| Kbuild | ||
| asm-offsets.h | ||
| asm-uaccess.h | ||
| asmmacro.h | ||
| atomic.h | ||
| barrier.h | ||
| bitops.h | ||
| bootparam.h | ||
| bugs.h | ||
| cache.h | ||
| cacheasm.h | ||
| cacheflush.h | ||
| checksum.h | ||
| cmpxchg.h | ||
| coprocessor.h | ||
| core.h | ||
| current.h | ||
| delay.h | ||
| dma.h | ||
| elf.h | ||
| fixmap.h | ||
| flat.h | ||
| ftrace.h | ||
| futex.h | ||
| highmem.h | ||
| hw_breakpoint.h | ||
| initialize_mmu.h | ||
| io.h | ||
| irq.h | ||
| irqflags.h | ||
| jump_label.h | ||
| kasan.h | ||
| kmem_layout.h | ||
| linkage.h | ||
| mmu.h | ||
| mmu_context.h | ||
| mxregs.h | ||
| nommu_context.h | ||
| page.h | ||
| pci-bridge.h | ||
| pci.h | ||
| perf_event.h | ||
| pgalloc.h | ||
| pgtable.h | ||
| platform.h | ||
| processor.h | ||
| ptrace.h | ||
| regs.h | ||
| serial.h | ||
| shmparam.h | ||
| signal.h | ||
| smp.h | ||
| spinlock.h | ||
| spinlock_types.h | ||
| stackprotector.h | ||
| stacktrace.h | ||
| string.h | ||
| switch_to.h | ||
| syscall.h | ||
| sysmem.h | ||
| thread_info.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| traps.h | ||
| uaccess.h | ||
| ucontext.h | ||
| unaligned.h | ||
| unistd.h | ||
| vectors.h | ||
| vermagic.h | ||
| vmalloc.h | ||