OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ppc64/] [current.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _PPC64_CURRENT_H
2
#define _PPC64_CURRENT_H
3
#include <asm/paca.h>
4
 
5
/*
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version
9
 * 2 of the License, or (at your option) any later version.
10
 *
11
 * current is in the paca (processor data area), which is pointed
12
 * to by r13.
13
 */
14
 
15
#define get_current()   ((struct task_struct *)(get_paca()->xCurrent))
16
#define current         get_current()
17
 
18
#endif /* !(_PPC64_CURRENT_H) */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.