treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / parisc / include / asm / sparsemem.h
blobb5c3a79045b4fbdc3e6e65b5e71c690a1227f6e3
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ASM_PARISC_SPARSEMEM_H
3 #define ASM_PARISC_SPARSEMEM_H
5 /* We have these possible memory map layouts:
6 * Astro: 0-3.75, 67.75-68, 4-64
7 * zx1: 0-1, 257-260, 4-256
8 * Stretch (N-class): 0-2, 4-32, 34-xxx
9 */
11 #define MAX_PHYSMEM_BITS 39 /* 512 GB */
12 #define SECTION_SIZE_BITS 27 /* 128 MB */
14 #endif