• Linus Torvalds's avatar
    Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · 194dfe88
    Linus Torvalds authored
    Pull asm-generic updates from Arnd Bergmann:
     "There are three sets of updates for 5.18 in the asm-generic tree:
    
       - The set_fs()/get_fs() infrastructure gets removed for good.
    
         This was already gone from all major architectures, but now we can
         finally remove it everywhere, which loses some particularly tricky
         and error-prone code. There is a small merge conflict against a
         parisc cleanup, the solution is to use their new version.
    
       - The nds32 architecture ends its tenure in the Linux kernel.
    
         The hardware is still used and the code is in reasonable shape, but
         the mainline port is not actively maintained any more, as all
         remaining users are thought to run vendor kernels that would never
         be updated to a future release.
    
       - A series from Masahiro Yamada cleans up some of the uapi header
         files to pass the compile-time checks"
    
    * tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: (27 commits)
      nds32: Remove the architecture
      uaccess: remove CONFIG_SET_FS
      ia64: remove CONFIG_SET_FS support
      sh: remove CONFIG_SET_FS support
      sparc64: remove CONFIG_SET_FS support
      lib/test_lockup: fix kernel pointer check for separate address spaces
      uaccess: generalize access_ok()
      uaccess: fix type mismatch warnings from access_ok()
      arm64: simplify access_ok()
      m68k: fix access_ok for coldfire
      MIPS: use simpler access_ok()
      MIPS: Handle address errors for accesses above CPU max virtual user address
      uaccess: add generic __{get,put}_kernel_nofault
      nios2: drop access_ok() check from __put_user()
      x86: use more conventional access_ok() definition
      x86: remove __range_not_ok()
      sparc64: add __{get,put}_kernel_nofault()
      nds32: fix access_ok() checks in get/put_user
      uaccess: fix nios2 and microblaze get_user_8()
      sparc64: fix building assembly files
      ...
    194dfe88
thread_info.h 4.72 KB