07 Dec, 2006

35 commits


06 Dec, 2006

5 commits

  • I was playing with blackfin when i hit a neat bug ... doing an open() on a
    directory and then passing that fd to mmap() would cause the kernel to hang

    after poking into the code a bit more, i found that
    mm/nommu.c:validate_mmap_request() checks the length and if it is 0, just
    returns the address ... this is in stark contrast to mmu's
    mm/mmap.c:do_mmap_pgoff() where it returns -EINVAL for 0 length requests ...
    i then noticed that some other parts of the logic is out of date between the
    two funcs, so perhaps that's the easy fix ?

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     
  • The first patch is to the 2.6 kernel include file (for m68knommu), to get
    rid of the conditional definitions, otherwise the structures have different
    sizes depending on whether there's an FPU or not.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Gavin Lambert
     
  • Some updates for the old ColdFire serial driver:

    . support 3 and 4 UARTs on some ColdFire parts that have them
    . enable multifunction pins to serial for 527x CPU's
    . support the 5272 UART's fractional baud rate divisor
    . switch driver name to "mcfserial"

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Adds support for RTCs (through genrtc) for M68KNOMMU.

    Board-specific code will have to link the appropriate RTC driver to the
    mach_hwclk callback, at minimum.

    This patch switches the 68360 code over to using rtc_time.

    Signed-off-by: Gavin Lambert
    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • The 523x timer TRR register is a full 32bits, the older register (on
    other ColdFire parts) was only 16 bits. Use the right type of
    __raw_read when accessing it.

    Problem found by Yaroslav Vinogradov

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer