File: init.h

package info (click to toggle)
kernel-image-2.4.17-hppa 32.4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 156,356 kB
  • ctags: 442,585
  • sloc: ansic: 2,542,442; asm: 144,771; makefile: 8,468; sh: 3,097; perl: 2,578; yacc: 1,177; tcl: 577; lex: 352; awk: 251; lisp: 218; sed: 72
file content (29 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  include/asm-s390/init.h
 *
 *  S390 version
 */

#ifndef _S390_INIT_H
#define _S390_INIT_H

#define __init __attribute__ ((constructor))

/* don't know, if need on S390 */
#define __initdata
#define __initfunc(__arginit) \
        __arginit __init; \
        __arginit
/* For assembly routines
 * need to define ?
 */
/*
#define __INIT          .section        ".text.init",#alloc,#execinstr
#define __FINIT .previous
#define __INITDATA      .section        ".data.init",#alloc,#write
*/

#define __cacheline_aligned __attribute__ ((__aligned__(256)))

#endif