mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
xtensa: Shuffle include statements to fix linker script
The linker script was including assembly macros from the coprocessor header file that is not otherwise used by the script. Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
parent
cf1c0aaf81
commit
4573e398d5
@ -14,6 +14,7 @@
|
||||
#define _XTENSA_ELF_H
|
||||
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/coprocessor.h>
|
||||
|
||||
/* Xtensa processor ELF architecture-magic number */
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
/*
|
||||
* Allocating and freeing a pmd is trivial: the 1-entry pmd is
|
||||
|
@ -12,7 +12,6 @@
|
||||
#define _XTENSA_PROCESSOR_H
|
||||
|
||||
#include <variant/core.h>
|
||||
#include <asm/coprocessor.h>
|
||||
#include <platform/hardware.h>
|
||||
|
||||
#include <linux/compiler.h>
|
||||
|
@ -77,6 +77,8 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <asm/coprocessor.h>
|
||||
|
||||
/*
|
||||
* This struct defines the way the registers are stored on the
|
||||
* kernel stack during a system call or other kernel entry.
|
||||
|
@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
#include <asm/processor.h>
|
||||
#include <asm/coprocessor.h>
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/stddef.h>
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <linux/linkage.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/coprocessor.h>
|
||||
#include <asm/thread_info.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user