diff options
Diffstat (limited to 'include/asm-mips64/init.h')
-rw-r--r-- | include/asm-mips64/init.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/asm-mips64/init.h b/include/asm-mips64/init.h new file mode 100644 index 000000000..fdc132807 --- /dev/null +++ b/include/asm-mips64/init.h @@ -0,0 +1,26 @@ +/* $Id$ + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1998, 1999 Ralf Baechle + */ +#ifndef _ASM_INIT_H +#define _ASM_INIT_H + +#define __init __attribute__ ((__section__ (".text.init"))) +#define __initdata __attribute__ ((__section__ (".data.init"))) +#define __initfunc(__arginit) \ + __arginit __init; \ + __arginit + +#define __initlocaldata __initdata + +/* For assembly routines */ +#define __INIT .section .text.init,"ax" +#define __FINIT .previous +#define __INITDATA .section .data.init,"a" +#define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES))) + +#endif /* _ASM_INIT_H */ |