fixmap.h (597473720f4dc69749542bfcfed4a927a43d935e) fixmap.h (37744feebc086908fd89760650f458ab19071750)
1/* SPDX-License-Identifier: GPL-2.0
2 *
3 * fixmap.h: compile-time virtual memory allocation
4 *
5 * Copyright (C) 1998 Ingo Molnar
6 *
7 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
8 */

--- 69 unchanged lines hidden (view full) ---

78
79/*
80 * used by vmalloc.c.
81 *
82 * Leave one empty page between vmalloc'ed areas and
83 * the start of the fixmap, and leave one page empty
84 * at the top of mem..
85 */
1/* SPDX-License-Identifier: GPL-2.0
2 *
3 * fixmap.h: compile-time virtual memory allocation
4 *
5 * Copyright (C) 1998 Ingo Molnar
6 *
7 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
8 */

--- 69 unchanged lines hidden (view full) ---

78
79/*
80 * used by vmalloc.c.
81 *
82 * Leave one empty page between vmalloc'ed areas and
83 * the start of the fixmap, and leave one page empty
84 * at the top of mem..
85 */
86#ifdef CONFIG_SUPERH32
87#define FIXADDR_TOP (P4SEG - PAGE_SIZE)
86#define FIXADDR_TOP (P4SEG - PAGE_SIZE)
88#else
89#define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE))
90#endif
91#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
92#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
93
94#define FIXMAP_PAGE_NOCACHE PAGE_KERNEL_NOCACHE
95
96#include <asm-generic/fixmap.h>
97
98#endif
87#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
88#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
89
90#define FIXMAP_PAGE_NOCACHE PAGE_KERNEL_NOCACHE
91
92#include <asm-generic/fixmap.h>
93
94#endif