1. 12 5月, 2009 2 次提交
  2. 09 5月, 2009 11 次提交
  3. 30 4月, 2009 1 次提交
  4. 27 4月, 2009 1 次提交
    • L
      x86: unify arch/x86/boot/compressed/vmlinux_*.lds · 51b26ada
      Linus Torvalds 提交于
      Look at the:
      
      	diff -u arch/x86/boot/compressed/vmlinux_*.lds
      
      output and realize that they're basially exactly the same except for
      trivial naming differences, and the fact that the 64-bit version has a
      "pgtable" thing.
      
      So unify them.
      
      There's some trivial cleanup there (make the output format a Kconfig thing
      rather than doing #ifdef's for it, and unify both 32-bit and 64-bit BSS
      end to "_ebss", where 32-bit used to use the traditional "_end"), but
      other than that it's really very mindless and straigt conversion.
      
      For example, I think we should aim to remove "startup_32" vs "startup_64",
      and just call it "startup", and get rid of one more difference. I didn't
      do that.
      
      Also, notice the comment in the unified vmlinux.lds.S talks about
      "head_64" and "startup_32" which is an odd and incorrect mix, but that was
      actually what the old 64-bit only lds file had, so the confusion isn't
      new, and now that mixing is arguably more accurate thanks to the
      vmlinux.lds.S file being shared between the two cases ;)
      
      [ Impact: cleanup, unification ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      51b26ada
  5. 03 4月, 2009 1 次提交
  6. 20 2月, 2009 2 次提交
  7. 14 2月, 2009 1 次提交
  8. 05 1月, 2009 1 次提交
    • A
      bzip2/lzma: x86 kernel compression support · ae03c499
      Alain Knaff 提交于
      Impact: Replaces x86 kernel decompressor with new code
      
      This is the third part of the bzip2/lzma patch
      
      The bzip patch is based on an idea by Christian Ludwig, includes support for
      compressing the kernel with bzip2 or lzma rather than gzip. Both
      compressors give smaller sizes than gzip.  Lzma's decompresses faster
      than bzip2.
      
      It also supports ramdisks and initramfs' compressed using these two
      compressors.
      
      The functionality has been successfully used for a couple of years by
      the udpcast project
      
      This version applies to "tip" kernel 2.6.28
      
      This part contains:
      - support for new bzip2 and lzma kernel compression for x86
      Signed-off-by: NAlain Knaff <alain@knaff.lu>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      ae03c499
  9. 31 10月, 2008 1 次提交
  10. 23 10月, 2008 1 次提交
  11. 04 10月, 2008 1 次提交
  12. 04 9月, 2008 1 次提交
    • H
      x86: boot/compressed/Makefile: fix "make clean" · 7f16a339
      H. Peter Anvin 提交于
      The Kbuild variable "targets" is supposed to be
      configuration-independent and reflect "all possible targets".  This is
      required to make "make clean" work properly.
      
      Therefore, move all manipulation of "targets" as well as custom rules
      out of the x86-32 ifdef statement.  Only leave inside the ifdefs the
      things that are genuinely configuration-dependent.
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      7f16a339
  13. 15 8月, 2008 1 次提交
    • P
      x86: coding style fixes to arch/x86/boot/compressed/misc.c · 020878ac
      Paolo Ciarrocchi 提交于
      Before:
      total: 4 errors, 6 warnings, 439 lines checked
      
      After:
      total: 1 errors, 5 warnings, 441 lines checked
      
      Before
      
       -#include <asm/io.h>
       +#include <linux/io.h>
      
      paolo@paolo-desktop:~/linux.trees.git$ md5sum /tmp/misc.o.*
      8b2394e1fe519a9542e9a7e3e7b69c39  /tmp/misc.o.after
      8b2394e1fe519a9542e9a7e3e7b69c39  /tmp/misc.o.before
      
      After
      
       -#include <asm/io.h>
       +#include <linux/io.h>
      
      paolo@paolo-desktop:~/linux.trees.git$ md5sum /tmp/misc.o.*
      59a2d264284be5e72b5af4f3a8ccfb47  /tmp/misc.o.after
      8b2394e1fe519a9542e9a7e3e7b69c39  /tmp/misc.o.before
      Signed-off-by: NPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      020878ac
  14. 12 8月, 2008 1 次提交
  15. 26 7月, 2008 1 次提交
    • T
      inflate: refactor inflate malloc code · 2d6ffcca
      Thomas Petazzoni 提交于
      Inflate requires some dynamic memory allocation very early in the boot
      process and this is provided with a set of four functions:
      malloc/free/gzip_mark/gzip_release.
      
      The old inflate code used a mark/release strategy rather than implement
      free.  This new version instead keeps a count on the number of outstanding
      allocations and when it hits zero, it resets the malloc arena.
      
      This allows removing all the mark and release implementations and unifying
      all the malloc/free implementations.
      
      The architecture-dependent code must define two addresses:
       - free_mem_ptr, the address of the beginning of the area in which
         allocations should be made
       - free_mem_end_ptr, the address of the end of the area in which
         allocations should be made. If set to 0, then no check is made on
         the number of allocations, it just grows as much as needed
      
      The architecture-dependent code can also provide an arch_decomp_wdog()
      function call.  This function will be called several times during the
      decompression process, and allow to notify the watchdog that the system is
      still running.  If an architecture provides such a call, then it must
      define ARCH_HAS_DECOMP_WDOG so that the generic inflate code calls
      arch_decomp_wdog().
      
      Work initially done by Matt Mackall, updated to a recent version of the
      kernel and improved by me.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Matt Mackall <mpm@selenic.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Mikael Starvik <mikael.starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Acked-by: NPaul Mundt <lethal@linux-sh.org>
      Acked-by: NYoshinori Sato <ysato@users.sourceforge.jp>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2d6ffcca
  16. 23 7月, 2008 1 次提交
  17. 03 7月, 2008 1 次提交
  18. 01 7月, 2008 1 次提交
  19. 10 6月, 2008 1 次提交
  20. 31 5月, 2008 2 次提交
  21. 25 5月, 2008 1 次提交
  22. 05 5月, 2008 1 次提交
  23. 20 4月, 2008 2 次提交
  24. 17 4月, 2008 3 次提交
    • A
      x86: remove superfluous initialisation in boot code. · 03056c88
      Alexander van Heukelum 提交于
      In arch/x86/boot/compressed/misc.c, the variable vidmem is
      the only variable that ends up in de data segment. It's also
      superfluous, because the first thing the code does is:
      
      	if (RM_SCREEN_INFO.orig_video_mode == 7) {
      		vidmem = (char *) 0xb0000;
      		vidport = 0x3b4;
      	} else {
      		vidmem = (char *) 0xb8000;
      		vidport = 0x3d4;
      	}
      
      This patch removes the initialisation.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      03056c88
    • I
      x86: more cleanups in arch/x86/boot/compressed/misc.c · 1180e01d
      Ingo Molnar 提交于
      Before:
         total: 7 errors, 8 warnings, 471 lines checked
      After:
         total: 5 errors, 5 warnings, 479 lines checked
      
      ( the rest cannot be eliminated due to zlib interface cruftiness. )
      
      No code changed:
      
      arch/x86/boot/compressed/misc.o:
      
         text	   data	    bss	    dec	    hex	filename
        10716	      8	   2152	  12876	   324c	misc.o.before
        10716	      8	   2152	  12876	   324c	misc.o.after
      
      md5:
         2c20c903986a3c9bca44306c6646067e  misc.o.before.asm
         2c20c903986a3c9bca44306c6646067e  misc.o.after.asm
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      1180e01d
    • P
      x86: coding style fixes to arch/x86/boot/compressed/misc.c · fd77c7ca
      Paolo Ciarrocchi 提交于
      Fix lots of style errors and warnings.
      
      Before:
         total: 58 errors, 9 warnings, 469 lines checked
      After:
         total: 7 errors, 8 warnings, 471 lines checked
      
      No code changed:
      
      arch/x86/boot/compressed/misc.o:
      
         text	   data	    bss	    dec	    hex	filename
        10716	      8	   2152	  12876	   324c	misc.o.before
        10716	      8	   2152	  12876	   324c	misc.o.after
      
      md5:
         2c20c903986a3c9bca44306c6646067e  misc.o.before.asm
         2c20c903986a3c9bca44306c6646067e  misc.o.after.asm
      Signed-off-by: NPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      fd77c7ca