page.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) page.h (5394f1e9b687bcf26595cabf83483e568676128d)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com)
4 * Copyright 2003 PathScale, Inc.
5 */
6
7#ifndef __UM_PAGE_H
8#define __UM_PAGE_H
9
10#include <linux/const.h>
11
12/* PAGE_SHIFT determines the page size */
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com)
4 * Copyright 2003 PathScale, Inc.
5 */
6
7#ifndef __UM_PAGE_H
8#define __UM_PAGE_H
9
10#include <linux/const.h>
11
12/* PAGE_SHIFT determines the page size */
13#define PAGE_SHIFT 12
13#define PAGE_SHIFT CONFIG_PAGE_SHIFT
14#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
15#define PAGE_MASK (~(PAGE_SIZE-1))
16
17#ifndef __ASSEMBLY__
18
19struct page;
20
21#include <linux/pfn.h>

--- 101 unchanged lines hidden ---
14#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
15#define PAGE_MASK (~(PAGE_SIZE-1))
16
17#ifndef __ASSEMBLY__
18
19struct page;
20
21#include <linux/pfn.h>

--- 101 unchanged lines hidden ---