summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/current.h
blob: 52ddc60c8b65887394e8c482bf6a9818735c7e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _PPC64_CURRENT_H
#define _PPC64_CURRENT_H

#include <asm/paca.h>

/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#define get_current()   (get_paca()->__current)
#define current         get_current()

#endif /* !(_PPC64_CURRENT_H) */