Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • lib
  • string.c
Find file BlameHistoryPermalink
  • Nick Desaulniers's avatar
    lib/string: remove unnecessary #undefs · ff72daa3
    Nick Desaulniers authored Dec 15, 2020
    A few architecture specific string.h functions used to be implemented in
    terms of preprocessor defines to the corresponding compiler builtins.
    Since this is no longer the case, remove unused #undefs.
    
    Only memcmp is still defined in terms of builtins for a few arches.
    
    Link: https://github.com/ClangBuiltLinux/linux/issues/428
    Link: https://lkml.kernel.org/r/20201120041113.89382-1-ndesaulniers@google.com
    Fixes: 5f074f3e
    
     ("lib/string.c: implement a basic bcmp")
    Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
    Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Cc: Yury Norov <yury.norov@gmail.com>
    Cc: Alexandru Ardelean <alexandru.ardelean@analog.com>
    Cc: Nathan Chancellor <natechancellor@gmail.com>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    ff72daa3
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7