ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-s390 / extmem.h
1 /*
2  *  include/asm-s390x/extmem.h
3  *
4  *  definitions for external memory segment support
5  *  Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
6  */
7
8 #ifndef _ASM_S390X_DCSS_H
9 #define _ASM_S390X_DCSS_H
10 #ifndef __ASSEMBLY__
11 #define SEGMENT_SHARED_RW       0
12 #define SEGMENT_SHARED_RO       1
13 #define SEGMENT_EXCLUSIVE_RW    2
14 #define SEGMENT_EXCLUSIVE_RO    3
15 extern int segment_load (char *name,int segtype,unsigned long *addr,unsigned long *length);
16 extern void segment_unload(char *name);
17 extern void segment_replace(char *name);
18 #endif
19 #endif