page.h (03c11eb3b16dc0058589751dfd91f254be2be613) page.h (5394f1e9b687bcf26595cabf83483e568676128d)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * S390 version
4 * Copyright IBM Corp. 1999, 2000
5 * Author(s): Hartmut Penner (hp@de.ibm.com)
6 */
7
8#ifndef _S390_PAGE_H
9#define _S390_PAGE_H
10
11#include <linux/const.h>
12#include <asm/types.h>
13
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * S390 version
4 * Copyright IBM Corp. 1999, 2000
5 * Author(s): Hartmut Penner (hp@de.ibm.com)
6 */
7
8#ifndef _S390_PAGE_H
9#define _S390_PAGE_H
10
11#include <linux/const.h>
12#include <asm/types.h>
13
14#define _PAGE_SHIFT 12
14#define _PAGE_SHIFT CONFIG_PAGE_SHIFT
15#define _PAGE_SIZE (_AC(1, UL) << _PAGE_SHIFT)
16#define _PAGE_MASK (~(_PAGE_SIZE - 1))
17
18/* PAGE_SHIFT determines the page size */
19#define PAGE_SHIFT _PAGE_SHIFT
20#define PAGE_SIZE _PAGE_SIZE
21#define PAGE_MASK _PAGE_MASK
22#define PAGE_DEFAULT_ACC _AC(0, UL)

--- 195 unchanged lines hidden ---
15#define _PAGE_SIZE (_AC(1, UL) << _PAGE_SHIFT)
16#define _PAGE_MASK (~(_PAGE_SIZE - 1))
17
18/* PAGE_SHIFT determines the page size */
19#define PAGE_SHIFT _PAGE_SHIFT
20#define PAGE_SIZE _PAGE_SIZE
21#define PAGE_MASK _PAGE_MASK
22#define PAGE_DEFAULT_ACC _AC(0, UL)

--- 195 unchanged lines hidden ---