mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:50:51 +07:00
[S390] Get rid of new section mismatch warnings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
3b74a87422
commit
e62133b4ea
@ -35,6 +35,7 @@
|
|||||||
#define ARCH_OFFSET 0
|
#define ARCH_OFFSET 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
.section ".text.head","ax"
|
||||||
#ifndef CONFIG_IPL
|
#ifndef CONFIG_IPL
|
||||||
.org 0
|
.org 0
|
||||||
.long 0x00080000,0x80000000+startup # Just a restart PSW
|
.long 0x00080000,0x80000000+startup # Just a restart PSW
|
||||||
|
@ -21,6 +21,7 @@ SECTIONS
|
|||||||
. = 0x00000000;
|
. = 0x00000000;
|
||||||
_text = .; /* Text and read-only data */
|
_text = .; /* Text and read-only data */
|
||||||
.text : {
|
.text : {
|
||||||
|
*(.text.head)
|
||||||
TEXT_TEXT
|
TEXT_TEXT
|
||||||
SCHED_TEXT
|
SCHED_TEXT
|
||||||
LOCK_TEXT
|
LOCK_TEXT
|
||||||
|
@ -29,8 +29,8 @@ struct memory_segment {
|
|||||||
|
|
||||||
static LIST_HEAD(mem_segs);
|
static LIST_HEAD(mem_segs);
|
||||||
|
|
||||||
void memmap_init(unsigned long size, int nid, unsigned long zone,
|
void __meminit memmap_init(unsigned long size, int nid, unsigned long zone,
|
||||||
unsigned long start_pfn)
|
unsigned long start_pfn)
|
||||||
{
|
{
|
||||||
struct page *start, *end;
|
struct page *start, *end;
|
||||||
struct page *map_start, *map_end;
|
struct page *map_start, *map_end;
|
||||||
@ -66,7 +66,7 @@ void memmap_init(unsigned long size, int nid, unsigned long zone,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void *vmem_alloc_pages(unsigned int order)
|
static void __init_refok *vmem_alloc_pages(unsigned int order)
|
||||||
{
|
{
|
||||||
if (slab_is_available())
|
if (slab_is_available())
|
||||||
return (void *)__get_free_pages(GFP_KERNEL, order);
|
return (void *)__get_free_pages(GFP_KERNEL, order);
|
||||||
|
@ -147,8 +147,7 @@ raw3270_request_alloc(size_t size)
|
|||||||
* Allocate a new 3270 ccw request from bootmem. Only works very
|
* Allocate a new 3270 ccw request from bootmem. Only works very
|
||||||
* early in the boot process. Only con3270.c should be using this.
|
* early in the boot process. Only con3270.c should be using this.
|
||||||
*/
|
*/
|
||||||
struct raw3270_request *
|
struct raw3270_request __init *raw3270_request_alloc_bootmem(size_t size)
|
||||||
raw3270_request_alloc_bootmem(size_t size)
|
|
||||||
{
|
{
|
||||||
struct raw3270_request *rq;
|
struct raw3270_request *rq;
|
||||||
|
|
||||||
@ -848,8 +847,7 @@ raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, char *ascebc)
|
|||||||
/*
|
/*
|
||||||
* Setup 3270 device configured as console.
|
* Setup 3270 device configured as console.
|
||||||
*/
|
*/
|
||||||
struct raw3270 *
|
struct raw3270 __init *raw3270_setup_console(struct ccw_device *cdev)
|
||||||
raw3270_setup_console(struct ccw_device *cdev)
|
|
||||||
{
|
{
|
||||||
struct raw3270 *rp;
|
struct raw3270 *rp;
|
||||||
char *ascebc;
|
char *ascebc;
|
||||||
|
@ -621,8 +621,7 @@ sclp_vt220_flush_buffer(struct tty_struct *tty)
|
|||||||
/*
|
/*
|
||||||
* Initialize all relevant components and register driver with system.
|
* Initialize all relevant components and register driver with system.
|
||||||
*/
|
*/
|
||||||
static int
|
static int __init_refok __sclp_vt220_init(int early)
|
||||||
__sclp_vt220_init(int early)
|
|
||||||
{
|
{
|
||||||
void *page;
|
void *page;
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user