summaryrefslogtreecommitdiff
path: root/include/asm-frv/sections.h
blob: 17d0fb171bba7f282e8db329862da5c0e4084604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* sections.h: linkage layout variables
 *
 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#ifndef _ASM_SECTIONS_H
#define _ASM_SECTIONS_H

#ifndef __ASSEMBLY__

#include <linux/types.h>
#include <asm-generic/sections.h>

#ifdef __KERNEL__

/*
 * we don't want to put variables in the GP-REL section if they're not used very much - that would
 * be waste since GP-REL addressing is limited to GP16+/-2048
 */
#define __nongpreldata	__attribute__((section(".data")))
#define __nongprelbss	__attribute__((section(".bss")))

/*
 * linker symbols
 */
extern const void __kernel_image_start, __kernel_image_end, __page_offset;

extern unsigned long __nongprelbss memory_start;
extern unsigned long __nongprelbss memory_end;
extern unsigned long __nongprelbss rom_length;

/* determine if we're running from ROM */
static inline int is_in_rom(unsigned long addr)
{
	return 0; /* default case: not in ROM */
}

#endif
#endif
#endif /* _ASM_SECTIONS_H */
20:24:42 +1000'>2019-07-02powerpc/64s/exception: KVM handler can set the HSRR trap bitNicholas Piggin 2019-07-02powerpc/64s/exception: merge KVM handler and skip variantsNicholas Piggin 2019-07-02powerpc/64s/exception: remove H concatenation for EXC_HV variantsNicholas Piggin 2019-07-01powerpc/64s/exception: fix line wrap and semicolon inconsistencies in macrosNicholas Piggin 2018-08-07powerpc/64s: Drop unused loc parameter to MASKABLE_EXCEPTION macrosMichael Ellerman 2018-08-07powerpc/64s: Remove PSERIES naming from the MASKABLE macrosMichael Ellerman 2018-08-07powerpc/64s: Rename STD_RELON_EXCEPTION_PSERIES_OOL to STD_RELON_EXCEPTION_OOLMichael Ellerman 2018-08-07powerpc/64s: Rename STD_RELON_EXCEPTION_PSERIES to STD_RELON_EXCEPTIONMichael Ellerman 2018-08-07powerpc/64s: Rename STD_EXCEPTION_PSERIES_OOL to STD_EXCEPTION_OOLMichael Ellerman 2018-08-07powerpc/64s: Rename STD_EXCEPTION_PSERIES to STD_EXCEPTIONMichael Ellerman 2018-01-19powerpc/64s: Add support to take additional parameter in MASKABLE_* macroMadhavan Srinivasan 2018-01-16powerpc: Remove useless EXC_COMMON_HVBenjamin Herrenschmidt 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman 2017-06-20powerpc/64s: Add EX_SIZE definition for paca exception save areasNicholas Piggin 2017-05-30powerpc/64: Tool to check head sections location sanityNicholas Piggin 2017-05-30powerpc/64: Handle linker stubs in low .text codeNicholas Piggin 2017-04-23powerpc/kprobes: Blacklist common exception handlersNaveen N. Rao 2017-02-14Merge branch 'topic/ppc-kvm' into nextMichael Ellerman 2017-02-07powerpc/64s: Use (start, size) rather than (start, end) for exception handlersNicholas Piggin 2017-02-07powerpc/64s: Tidy up after exception handler reworkNicholas Piggin