]> err.no Git - linux-2.6/commitdiff
Storage class should be first
authorTobias Klauser <tklauser@nuerscht.ch>
Mon, 26 Jun 2006 16:57:34 +0000 (18:57 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 26 Jun 2006 16:57:34 +0000 (18:57 +0200)
Storage class should be before const

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/i386/kernel/machine_kexec.c
arch/powerpc/kernel/machine_kexec_32.c
arch/ppc/kernel/machine_kexec.c
arch/s390/kernel/machine_kexec.c
arch/sh/kernel/machine_kexec.c
arch/x86_64/kernel/machine_kexec.c

index f73d7374a2ba8db6cd903bc4e316df2ecdb4260b..511abe52a94e861a2ad2051dd72e072a131db30c 100644 (file)
@@ -133,9 +133,9 @@ typedef asmlinkage NORET_TYPE void (*relocate_new_kernel_t)(
                                        unsigned long start_address,
                                        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);
-const extern unsigned int relocate_new_kernel_size;
+extern const unsigned int relocate_new_kernel_size;
 
 /*
  * A architecture hook called to validate the
index 443606134dff1a6a90bfd30a1e7b1c2741725cf9..cbaa34196797ea55a67afbfa9a79a3fc74384e59 100644 (file)
@@ -30,8 +30,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
  */
 void default_machine_kexec(struct kimage *image)
 {
-       const extern unsigned char relocate_new_kernel[];
-       const extern unsigned int relocate_new_kernel_size;
+       extern const unsigned char relocate_new_kernel[];
+       extern const unsigned int relocate_new_kernel_size;
        unsigned long page_list;
        unsigned long reboot_code_buffer, reboot_code_buffer_phys;
        relocate_new_kernel_t rnk;
index 84d65a87191ed6048a81eee508e43d1629055f9b..a469ba438cbea17fc8654407d42d2744f4d4a2fc 100644 (file)
@@ -25,8 +25,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
                                unsigned long reboot_code_buffer,
                                unsigned long start_address) ATTRIB_NORET;
 
-const extern unsigned char relocate_new_kernel[];
-const extern unsigned int relocate_new_kernel_size;
+extern const unsigned char relocate_new_kernel[];
+extern const unsigned int relocate_new_kernel_size;
 
 void machine_shutdown(void)
 {
index bad81b5832db51c0c84aabcd84a3c53409c1704e..fbde6a91526481e96a9acf3b50f3c892d027e54f 100644 (file)
@@ -27,8 +27,8 @@ static void kexec_halt_all_cpus(void *);
 
 typedef void (*relocate_kernel_t) (kimage_entry_t *, unsigned long);
 
-const extern unsigned char relocate_kernel[];
-const extern unsigned long long relocate_kernel_len;
+extern const unsigned char relocate_kernel[];
+extern const unsigned long long relocate_kernel_len;
 
 int
 machine_kexec_prepare(struct kimage *image)
index 43546525f28fcdbbdca3d4fd28c313989206b985..6bcd8d92399fcb094fa725831413e93b4a65f66f 100644 (file)
@@ -25,8 +25,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
                                unsigned long start_address,
                                unsigned long vbr_reg) ATTRIB_NORET;
 
-const extern unsigned char relocate_new_kernel[];
-const extern unsigned int relocate_new_kernel_size;
+extern const unsigned char relocate_new_kernel[];
+extern const unsigned int relocate_new_kernel_size;
 extern void *gdb_vbr_vector;
 
 /*
index 25ac8a3faae635417ae7377cadf7f56ae2dec823..83fb24a02821e0f67d6c14b5cff6b417da5e0221 100644 (file)
@@ -149,8 +149,8 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(unsigned long indirection_page,
                                        unsigned long start_address,
                                        unsigned long pgtable) ATTRIB_NORET;
 
-const extern unsigned char relocate_new_kernel[];
-const extern unsigned long relocate_new_kernel_size;
+extern const unsigned char relocate_new_kernel[];
+extern const unsigned long relocate_new_kernel_size;
 
 int machine_kexec_prepare(struct kimage *image)
 {