Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[muen/linux.git] / arch / arm / boot / compressed / misc.c
index 79f56c5..e1e9a5d 100644 (file)
@@ -128,12 +128,7 @@ asmlinkage void __div0(void)
        error("Attempting division by 0!");
 }
 
-unsigned long __stack_chk_guard;
-
-void __stack_chk_guard_setup(void)
-{
-       __stack_chk_guard = 0x000a0dff;
-}
+const unsigned long __stack_chk_guard = 0x000a0dff;
 
 void __stack_chk_fail(void)
 {
@@ -150,8 +145,6 @@ decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p,
 {
        int ret;
 
-       __stack_chk_guard_setup();
-
        output_data             = (unsigned char *)output_start;
        free_mem_ptr            = free_mem_ptr_p;
        free_mem_end_ptr        = free_mem_ptr_end_p;