1. 17 3月, 2011 7 次提交
  2. 14 1月, 2011 8 次提交
  3. 08 1月, 2011 1 次提交
  4. 07 1月, 2011 4 次提交
    • M
      deb-pkg: Make deb-pkg generate a seperate linux-libc-dev deb · e6807785
      maximilian attems 提交于
      userland dev likes latest incarnation of that userland API.
      make it easy to also build it on make deb-pkg invocation:
      
      dpkg-deb: building package `linux-libc-dev' in `../linux-libc-dev_2.6.32-rc6-4_amd64.deb'.
      
      Last year patch rebased on top of latest deb-pkg changes.
      Signed-off-by: Nmaximilian attems <max@stro.at>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      e6807785
    • P
      nconf: handle comment entries within choice/endchoice · 39177ec3
      Peter Korsgaard 提交于
      Equivalent to af6c1598 (kconfig: handle comment entries within
      choice/endchoice), but for nconfig instead.
      
      Implement support for comment entries within choice groups. Comment entries
      are displayed visually distinct from normal configs, and selecting them is
      a no-op.
      Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      39177ec3
    • R
      mkuboot.sh: Fail if mkimage is missing · bc91c9f3
      Roland Stigge 提交于
      on building an uImage, I get:
      
      $ make uImage
        CHK     include/linux/version.h
        CHK     include/generated/utsrelease.h
      make[1]: `include/generated/mach-types.h' is up to date.
        CALL    scripts/checksyscalls.sh
        CHK     include/generated/compile.h
        Kernel: arch/arm/boot/Image is ready
        SHIPPED arch/arm/boot/compressed/lib1funcs.S
        AS      arch/arm/boot/compressed/lib1funcs.o
        LD      arch/arm/boot/compressed/vmlinux
        OBJCOPY arch/arm/boot/zImage
        Kernel: arch/arm/boot/zImage is ready
        UIMAGE  arch/arm/boot/uImage
      "mkimage" command not found - U-Boot images will not be built
        Image arch/arm/boot/uImage is ready
      $
      
      I.e. it says: "uImage is ready" even though the uImage file doesn't
      exist because mkimage is missing.
      
      I propose the attached patch.
      Signed-off-by: NRoland Stigge <stigge@antcom.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      bc91c9f3
    • R
      kernel-doc: code reorganization · 8484baaa
      Randy Dunlap 提交于
      Move 'main' code vs. subroutines around so that they are not so
      intermixed, for better readability/understanding (relative to Perl).
      It was messy to follow the primary flow of code execution with the
      code being mixed.  Now the code begins with data initialization,
      followed by all subroutines, then ends with the main code execution.
      
      This is almost totally source code movement, with a few changes as
      needed for forward declarations.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8484baaa
  5. 04 1月, 2011 1 次提交
  6. 30 12月, 2010 1 次提交
  7. 29 12月, 2010 1 次提交
  8. 28 12月, 2010 2 次提交
    • O
      modpost: Fix address calculation in reloc_location() · 731ece41
      Olof Johansson 提交于
      This patch fixes a segfault in modpost that is observed when the gold
      linker is used to link the input objects.
      
      The problem is that reloc_location (modpost.c) is computing the
      address of the relocation target incorrectly. Here, elf->hdr points
      to the beginning of the ELF file in memory, sechdr points to the
      relocation section header, section is the index of the section
      being relocated, and sechdrs[section].sh_offset would be the offset
      of that section, relative to the beginning of the ELF file. Adding
      elf->hdr + sechdrs[section].sh_offset gives you the address of the
      beginning of the section, and adding r->r_offset to that gives you the
      address of the location to be relocated. You do not need to subtract
      sechdrs[section].sh_addr from that -- the result of this is an address
      outside the file, and causes the segfault when addend_386_rel tries to
      dereference it.
      
      This bug is not observed when GNU ld is used to link the inputs. The
      object file ubuntu/omnibook/omnibook.o is the result of an ld -r of
      several other files.  When GNU ld does an ld -r, it sets the vaddr
      field for each section to 0, but gold lays out the section addresses
      sequentially instead:
      
      Section Headers:
       [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
       [ 0]                   NULL            00000000 000000 000000 00      0   0  0
       [ 1] .text             PROGBITS        00000000 000034 004794 00  AX  0   0  4
       [ 2] .data             PROGBITS        0000b9d0 0047c8 0009c0 00  WA  0   0  4
       [ 3] .bss              NOBITS          000162f8 005188 00013c 00  WA  0   0  4
       [ 4] .rodata.str1.1    PROGBITS        00004f2d 0052c4 001b1a 01 AMS  0   0  1
       [ 5] .init.text        PROGBITS        00004794 006dde 0005fa 00  AX  0   0  1
       [ 6] .exit.text        PROGBITS        00004d8e 0073d8 00018a 00  AX  0   0  1
        ...
      
      So the bug in the tool remained undiscovered because the section's vaddr
      always happened to be 0.
      Signed-off-by: NRaymes Khoury <raymes@google.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      731ece41
    • A
      kconfig: fix warning · 0597fcd0
      Arnaud Lacombe 提交于
      In file included from scripts/kconfig/zconf.tab.c:2502:
      scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simplify_unmet_dep'
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      0597fcd0
  9. 24 12月, 2010 1 次提交
    • D
      of: Add support for linking device tree blobs into vmlinux · aab94339
      Dirk Brandewie 提交于
      This patch adds support for linking device tree blob(s) into
      vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking
      .dtb sections into vmlinux. To maintain compatiblity with the of/fdt
      driver code platforms MUST copy the blob to a non-init memory location
      before the kernel frees the .init.* sections in the image.
      
      Modifies scripts/Makefile.lib to add a kbuild command to
      compile DTS files to device tree blobs and a rule to create objects to
      wrap the blobs for linking.
      
      STRUCT_ALIGNMENT is defined in vmlinux.lds.h for use in the rule to
      create wrapper objects for the dtb in Makefile.lib.  The
      STRUCT_ALIGN() macro in vmlinux.lds.h is modified to use the
      STRUCT_ALIGNMENT definition.
      
      The DTB's are placed on 32 byte boundries to allow parsing the blob
      with driver/of/fdt.c during early boot without having to copy the blob
      to get the structure alignment GCC expects.
      
      A DTB is linked in by adding the DTB object to the list of objects to
      be linked into vmlinux in the archtecture specific Makefile using
         obj-y += foo.dtb.o
      Signed-off-by: NDirk Brandewie <dirk.brandewie@gmail.com>
      Acked-by: NMichal Marek <mmarek@suse.cz>
      [grant.likely@secretlab.ca: cleaned up whitespace inconsistencies]
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      aab94339
  10. 23 12月, 2010 1 次提交
  11. 22 12月, 2010 2 次提交
    • M
      kconfig: Make expr_copy() take a const argument · 17742dc7
      Michal Marek 提交于
      Fixes
      scripts/kconfig/expr.c: In function ‘expr_get_leftmost_symbol’:
      scripts/kconfig/expr.c:1026:2: warning: passing argument 1 of ‘expr_copy’ discards qualifiers from pointer target type
      scripts/kconfig/expr.c:67:14: note: expected ‘struct expr *’ but argument is of type ‘const struct expr *’
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      17742dc7
    • A
      kconfig: simplify select-with-unmet-direct-dependency warning · 1137c56b
      Arnaud Lacombe 提交于
      This is an attempt to simplify the expressing printed by kconfig when a
      symbol is selected but still has direct unmet dependency.
      
      First, the symbol reverse dependency is split in sub-expression. Then,
      each sub-expression is checked to ensure that it does not contains the
      unmet dependency. This removes the false-positive symbols and fixed symbol
      which already have the correct dependency. Finally, only the symbol
      responsible of the "select" is printed, instead of its full dependency tree.
      
      CC: Catalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      1137c56b
  12. 20 12月, 2010 2 次提交
  13. 17 12月, 2010 1 次提交
  14. 16 12月, 2010 1 次提交
  15. 15 12月, 2010 7 次提交