current.h 454 B

12345678910111213141516
  1. #ifndef _PPC64_CURRENT_H
  2. #define _PPC64_CURRENT_H
  3. #include <asm/paca.h>
  4. /*
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation; either version
  8. * 2 of the License, or (at your option) any later version.
  9. */
  10. #define get_current() (get_paca()->__current)
  11. #define current get_current()
  12. #endif /* !(_PPC64_CURRENT_H) */