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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _PPC64_INIT_H
2
#define _PPC64_INIT_H
3
 
4
#include <linux/init.h>
5
 
6
#if __GNUC__ > 2 || __GNUC_MINOR__ >= 90 /* egcs */
7
/* DRENG add back in when we get section attribute support */
8
#define __chrp __attribute__ ((__section__ (".text.chrp")))
9
#define __chrpdata __attribute__ ((__section__ (".data.chrp")))
10
#define __chrpfunc(__argchrp) \
11
        __argchrp __chrp; \
12
        __argchrp
13
 
14
/* this is actually just common chrp/pmac code, not OF code -- Cort */
15
#define __openfirmware __attribute__ ((__section__ (".text.openfirmware")))
16
#define __openfirmwaredata __attribute__ ((__section__ (".data.openfirmware")))
17
#define __openfirmwarefunc(__argopenfirmware) \
18
        __argopenfirmware __openfirmware; \
19
        __argopenfirmware
20
 
21
#else /* not egcs */
22
 
23
#define __openfirmware
24
#define __openfirmwaredata
25
#define __openfirmwarefunc(x) x
26
 
27
#endif /* egcs */
28
 
29
#endif /* _PPC64_INIT_H */

powered by: WebSVN 2.1.0

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