Import 2.3.18pre1
[davej-history.git] / include / asm-mips / init.h
blob5eeafcc61393da1cfa5af604e91cb0193acdeee3
1 /* $Id: init.h,v 1.3 1999/02/15 02:22:10 ralf Exp $
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
7 * Copyright 1998, 1999 Ralf Baechle
8 */
9 #ifndef __MIPS_INIT_H
10 #define __MIPS_INIT_H
12 #define __init __attribute__ ((__section__ (".text.init")))
13 #define __initdata __attribute__ ((__section__ (".data.init")))
15 #if __GNUC__ >= 2 && __GNUC_MINOR__ >= 8
16 #define __initlocaldata __initdata
17 #else
18 #define __initlocaldata
19 #endif
21 /* For assembly routines */
22 #define __INIT .section .text.init,"ax"
23 #define __FINIT .previous
24 #define __INITDATA .section .data.init,"a"
25 #define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))
27 #endif /* __MIPS_INIT_H */