Commit 2efe55a9 authored by Tobias Klauser's avatar Tobias Klauser Committed by Adrian Bunk

Storage class should be first

Storage class should be before const
Signed-off-by: default avatarTobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 48a1204c
...@@ -133,9 +133,9 @@ typedef asmlinkage NORET_TYPE void (*relocate_new_kernel_t)( ...@@ -133,9 +133,9 @@ typedef asmlinkage NORET_TYPE void (*relocate_new_kernel_t)(
unsigned long start_address, unsigned long start_address,
unsigned int has_pae) ATTRIB_NORET; unsigned int has_pae) ATTRIB_NORET;
const extern unsigned char relocate_new_kernel[]; extern const unsigned char relocate_new_kernel[];
extern void relocate_new_kernel_end(void); extern void relocate_new_kernel_end(void);
const extern unsigned int relocate_new_kernel_size; extern const unsigned int relocate_new_kernel_size;
/* /*
* A architecture hook called to validate the * A architecture hook called to validate the
......
...@@ -30,8 +30,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)( ...@@ -30,8 +30,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
*/ */
void default_machine_kexec(struct kimage *image) void default_machine_kexec(struct kimage *image)
{ {
const extern unsigned char relocate_new_kernel[]; extern const unsigned char relocate_new_kernel[];
const extern unsigned int relocate_new_kernel_size; extern const unsigned int relocate_new_kernel_size;
unsigned long page_list; unsigned long page_list;
unsigned long reboot_code_buffer, reboot_code_buffer_phys; unsigned long reboot_code_buffer, reboot_code_buffer_phys;
relocate_new_kernel_t rnk; relocate_new_kernel_t rnk;
......
...@@ -25,8 +25,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)( ...@@ -25,8 +25,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
unsigned long reboot_code_buffer, unsigned long reboot_code_buffer,
unsigned long start_address) ATTRIB_NORET; unsigned long start_address) ATTRIB_NORET;
const extern unsigned char relocate_new_kernel[]; extern const unsigned char relocate_new_kernel[];
const extern unsigned int relocate_new_kernel_size; extern const unsigned int relocate_new_kernel_size;
void machine_shutdown(void) void machine_shutdown(void)
{ {
......
...@@ -27,8 +27,8 @@ static void kexec_halt_all_cpus(void *); ...@@ -27,8 +27,8 @@ static void kexec_halt_all_cpus(void *);
typedef void (*relocate_kernel_t) (kimage_entry_t *, unsigned long); typedef void (*relocate_kernel_t) (kimage_entry_t *, unsigned long);
const extern unsigned char relocate_kernel[]; extern const unsigned char relocate_kernel[];
const extern unsigned long long relocate_kernel_len; extern const unsigned long long relocate_kernel_len;
int int
machine_kexec_prepare(struct kimage *image) machine_kexec_prepare(struct kimage *image)
......
...@@ -25,8 +25,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)( ...@@ -25,8 +25,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
unsigned long start_address, unsigned long start_address,
unsigned long vbr_reg) ATTRIB_NORET; unsigned long vbr_reg) ATTRIB_NORET;
const extern unsigned char relocate_new_kernel[]; extern const unsigned char relocate_new_kernel[];
const extern unsigned int relocate_new_kernel_size; extern const unsigned int relocate_new_kernel_size;
extern void *gdb_vbr_vector; extern void *gdb_vbr_vector;
/* /*
......
...@@ -149,8 +149,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(unsigned long indirection_page, ...@@ -149,8 +149,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(unsigned long indirection_page,
unsigned long start_address, unsigned long start_address,
unsigned long pgtable) ATTRIB_NORET; unsigned long pgtable) ATTRIB_NORET;
const extern unsigned char relocate_new_kernel[]; extern const unsigned char relocate_new_kernel[];
const extern unsigned long relocate_new_kernel_size; extern const unsigned long relocate_new_kernel_size;
int machine_kexec_prepare(struct kimage *image) int machine_kexec_prepare(struct kimage *image)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment