Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * S390 version
4 * Copyright IBM Corp. 1999
5 *
6 * Derived from "include/asm-i386/cache.h"
7 * Copyright (C) 1992, Linus Torvalds
8 */
9
10#ifndef __ARCH_S390_CACHE_H
11#define __ARCH_S390_CACHE_H
12
13#define L1_CACHE_BYTES 256
14#define L1_CACHE_SHIFT 8
15#define NET_SKB_PAD 32
16
17#define __read_mostly __section(".data..read_mostly")
18
19#endif
1/*
2 * S390 version
3 * Copyright IBM Corp. 1999
4 *
5 * Derived from "include/asm-i386/cache.h"
6 * Copyright (C) 1992, Linus Torvalds
7 */
8
9#ifndef __ARCH_S390_CACHE_H
10#define __ARCH_S390_CACHE_H
11
12#define L1_CACHE_BYTES 256
13#define L1_CACHE_SHIFT 8
14#define NET_SKB_PAD 32
15
16#define __read_mostly __attribute__((__section__(".data..read_mostly")))
17
18/* Read-only memory is marked before mark_rodata_ro() is called. */
19#define __ro_after_init __read_mostly
20
21#endif