Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.6 23 lines 662 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Based on arch/arm/include/asm/page.h 4 * 5 * Copyright (C) 1995-2003 Russell King 6 * Copyright (C) 2017 ARM Ltd. 7 */ 8#ifndef __ASM_PAGE_DEF_H 9#define __ASM_PAGE_DEF_H 10 11#include <linux/const.h> 12 13/* PAGE_SHIFT determines the page size */ 14/* CONT_SHIFT determines the number of pages which can be tracked together */ 15#define PAGE_SHIFT CONFIG_ARM64_PAGE_SHIFT 16#define CONT_SHIFT CONFIG_ARM64_CONT_SHIFT 17#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) 18#define PAGE_MASK (~(PAGE_SIZE-1)) 19 20#define CONT_SIZE (_AC(1, UL) << (CONT_SHIFT + PAGE_SHIFT)) 21#define CONT_MASK (~(CONT_SIZE-1)) 22 23#endif /* __ASM_PAGE_DEF_H */