Skip to content
  • Masahiro Yamada's avatar
    riscv: remove redundant kernel-space generic-y · 8c4fa8b8
    Masahiro Yamada authored
    
    
    This commit removes redundant generic-y defines in
    arch/riscv/include/asm/Kbuild.
    
    [1] It is redundant to define the same generic-y in both
        arch/$(ARCH)/include/asm/Kbuild and
        arch/$(ARCH)/include/uapi/asm/Kbuild.
    
        Remove the following generic-y:
    
          errno.h
          fcntl.h
          ioctl.h
          ioctls.h
          ipcbuf.h
          mman.h
          msgbuf.h
          param.h
          poll.h
          posix_types.h
          resource.h
          sembuf.h
          setup.h
          shmbuf.h
          signal.h
          socket.h
          sockios.h
          stat.h
          statfs.h
          swab.h
          termbits.h
          termios.h
          types.h
    
    [2] It is redundant to define generic-y when arch-specific
        implementation exists in arch/$(ARCH)/include/asm/*.h
    
        Remove the following generic-y:
    
          cacheflush.h
          module.h
    
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    8c4fa8b8