Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-s390/cache.h |
| 3 | * |
| 4 | * S390 version |
| 5 | * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation |
| 6 | * |
| 7 | * Derived from "include/asm-i386/cache.h" |
| 8 | * Copyright (C) 1992, Linus Torvalds |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ARCH_S390_CACHE_H |
| 12 | #define __ARCH_S390_CACHE_H |
| 13 | |
| 14 | #define L1_CACHE_BYTES 256 |
| 15 | #define L1_CACHE_SHIFT 8 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
| 17 | #define ARCH_KMALLOC_MINALIGN 8 |
| 18 | |
Christian Borntraeger | 58268b9 | 2006-04-27 18:40:24 -0700 | [diff] [blame] | 19 | #define __read_mostly __attribute__((__section__(".data.read_mostly"))) |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif |