current.h
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 0k
Development Platform:

Unix_Linux

  1. #ifndef _PPC64_CURRENT_H
  2. #define _PPC64_CURRENT_H
  3. /*
  4.  * This program is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU General Public License
  6.  * as published by the Free Software Foundation; either version
  7.  * 2 of the License, or (at your option) any later version.
  8.  *
  9.  * Use r13 for current since the ppc64 ABI reserves it - Anton
  10.  */
  11. register struct task_struct *current asm ("r13");
  12. #endif /* !(_PPC64_CURRENT_H) */