blob: cdf431b061bbc5eb57cb1807f11cda8ffc888867 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Torvalds1da177e2005-04-16 15:20:36 -070016
17#define ARCH_KMALLOC_MINALIGN 8
18
Christian Borntraeger58268b92006-04-27 18:40:24 -070019#define __read_mostly __attribute__((__section__(".data.read_mostly")))
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif