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
  • linux
  • arch
  • sparc
  • kernel
  • kernel.h
Find file BlameHistoryPermalink
  • Christian Brauner's avatar
    sparc: share process creation helpers between sparc and sparc64 · a4261d4b
    Christian Brauner authored May 12, 2020
    
    
    As promised in the previous patch, this moves the process creation
    helpers into a common process.c file that is shared between sparc and
    sparc64. It allows us to get rid of quite a bit custom assembler and the
    to remove the separe 32bit specific sparc_do_fork() call.
    
    One thing to note, is that when clone() was called with a separate stack
    for the child the assembler would align it. But copy_thread() has always
    been doing that too so that line wasn't needed and can thus simply be
    removed.
    
    Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
    Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Guo Ren <guoren@kernel.org>
    Cc: linux-csky@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: sparclinux@vger.kernel.org
    Link: https://lore.kernel.org/r/20200512171527.570109-3-christian.brauner@ubuntu.com
    a4261d4b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7