01 Nov, 2011

1 commit


31 Mar, 2011

1 commit

  • Fix all of the problems spotted by CONFIG_DEBUG_SECTION_MISMATCH under
    arch/sparc during a 64-bit defconfig build.

    They fall into two categorites:

    1) of_device_id is marked as __initdata, and we can never do this
    since these objects sit in the device core data structures way
    past boot. So even if a driver will never be reloaded, we have
    to keep the device ID table around.

    Mark such cases const instead.

    2) The bootmem alloc/free handling code in mdesc.c was not fully
    marked __init as it should be, thus generating a reference
    to free_bootmem_late() (which is __init) from non-__init code.

    Signed-off-by: David S. Miller

    David S. Miller
     

17 Mar, 2011

2 commits

  • Most of the warnings emitted (we fail arch/sparc file
    builds with -Werror) were legitimate but harmless, however
    one case (n2_pcr_write) was a genuine bug.

    Based almost entirely upon a patch by Sam Ravnborg.

    Reported-by: Dennis Gilmore
    Signed-off-by: David S. Miller

    David S. Miller
     
  • The generic irq support uses the term 'irq' for the
    allocated irq number.
    Fix it so sparc64 use the same term for an irq as the
    generic irq support does.
    For a naive reader this is less confusing.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: David S. Miller

    Sam Ravnborg
     

28 Feb, 2011

1 commit


24 Jul, 2010

2 commits

  • of_device is just a #define alias to platform_device. This patch
    replaces all references to it with platform_device.

    Signed-off-by: Grant Likely
    Acked-by: David S. Miller

    Grant Likely
     
  • Both of_bus_type and of_platform_bus_type are just #define aliases
    for the platform bus. This patch removes all references to them and
    switches to the of_register_platform_driver()/of_unregister_platform_driver()
    API for registering.

    Subsequent patches will convert each user of of_register_platform_driver()
    into plain platform_drivers without the of_platform_driver shim. At which
    point the of_register_platform_driver()/of_unregister_platform_driver()
    functions can be removed.

    Signed-off-by: Grant Likely
    Acked-by: David S. Miller

    Grant Likely
     

22 May, 2010

1 commit

  • .name, .match_table and .owner are duplicated in both of_platform_driver
    and device_driver. This patch is a removes the extra copies from struct
    of_platform_driver and converts all users to the device_driver members.

    This patch is a pretty mechanical change. The usage model doesn't change
    and if any drivers have been missed, or if anything has been fixed up
    incorrectly, then it will fail with a compile time error, and the fixup
    will be trivial. This patch looks big and scary because it touches so
    many files, but it should be pretty safe.

    Signed-off-by: Grant Likely
    Acked-by: Sean MacLennan

    Grant Likely
     

19 May, 2010

1 commit


08 Apr, 2009

1 commit


05 Dec, 2008

1 commit

  • o Move all files from sparc64/kernel/ to sparc/kernel
    - rename as appropriate
    o Update sparc/Makefile to the changes
    o Update sparc/kernel/Makefile to include the sparc64 files

    NOTE: This commit changes link order on sparc64!

    Link order had to change for either of sparc32 and sparc64.
    And assuming sparc64 see more testing than sparc32 change link
    order on sparc64 where issues will be caught faster.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: David S. Miller

    Sam Ravnborg