irqchip/s3c24xx: Mark init_eint as __maybe_unused
[linux/fpc-iii.git] / arch / xtensa / include / asm / sysmem.h
blobc015c5c8e3f70f186450ff9bb3ada372c41f213a
1 /*
2 * sysmem-related prototypes.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
8 * Copyright (C) 2014 Cadence Design Systems Inc.
9 */
11 #ifndef _XTENSA_SYSMEM_H
12 #define _XTENSA_SYSMEM_H
14 #define SYSMEM_BANKS_MAX 31
16 struct meminfo {
17 unsigned long start;
18 unsigned long end;
22 * Bank array is sorted by .start.
23 * Banks don't overlap and there's at least one page gap
24 * between adjacent bank entries.
26 struct sysmem_info {
27 int nr_banks;
28 struct meminfo bank[SYSMEM_BANKS_MAX];
31 extern struct sysmem_info sysmem;
33 int add_sysmem_bank(unsigned long start, unsigned long end);
34 int mem_reserve(unsigned long, unsigned long, int);
35 void bootmem_init(void);
36 void zones_init(void);
38 #endif /* _XTENSA_SYSMEM_H */