1. 17 4月, 2008 1 次提交
  2. 06 2月, 2008 1 次提交
    • J
      [POWERPC] arch/powerpc/platforms/82xx: Add missing of_node_put · 75e89b02
      Julia Lawall 提交于
      Of_get_parent and of_find_compatible_node do a of_node_get, and thus a
      corresponding of_code_put is needed in both the error case and the normal
      return case.
      
      The problem was found using the following semantic match.
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @@
      type T,T1,T2;
      identifier E;
      statement S;
      expression x1,x2,x3;
      int ret;
      @@
      
        T E;
        ...
      * E = \(of_get_parent\|of_find_compatible_node\)(...);
        if (E == NULL) S
        ... when != of_node_put(...,(T1)E,...)
            when != if (E != NULL) { ... of_node_put(...,(T1)E,...); ...}
            when != x1 = (T1)E
            when != E = x3;
            when any
        if (...) {
          ... when != of_node_put(...,(T2)E,...)
              when != if (E != NULL) { ... of_node_put(...,(T2)E,...); ...}
              when != x2 = (T2)E
      (
      *   return;
      |
      *   return ret;
      )
        }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kumar Gala <galak@gate.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      75e89b02
  3. 28 1月, 2008 1 次提交
  4. 24 1月, 2008 1 次提交
  5. 20 12月, 2007 1 次提交
  6. 12 12月, 2007 1 次提交
  7. 11 12月, 2007 1 次提交
  8. 05 10月, 2007 5 次提交
  9. 13 9月, 2007 2 次提交
  10. 23 8月, 2007 1 次提交
    • K
      [POWERPC] Remove old includes from arch/ppc · ed16c20d
      Kumar Gala 提交于
      Remove includes of files that existed in arch/ppc that we dont need in
      arch/powerpc anymore.  The following includes were removed:
      
       <asm/amigappc.h>
       <asm/bootinfo.h>
       <asm/ppcboot.h>
       <asm/ppc_sys.h>
       <asm/residual.h>
       <asm/m8260_pci.h>
      
      This also caused platforms/embedded6xx/mpc7448_hpc2.h to no longer be
      needed and thus removed.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      ed16c20d
  11. 24 7月, 2007 1 次提交
  12. 29 6月, 2007 7 次提交
  13. 13 4月, 2007 2 次提交
  14. 22 3月, 2007 1 次提交
    • K
      [POWERPC] Removed config options that we don't support in embedded6xx · fd42c717
      Kumar Gala 提交于
      When we started arch/powerpc we duplicated a number of config options from
      arch/ppc for various platforms that are supported.  Now that we actually
      support a few platforms, remove all the ones that haven't been moved over.
      Additionally, this cleanup moved the 82xx/PQ2 options over into
      arch/powerpc/platforms/82xx/Kconfig where they belong.  It also killed
      GEN550 which doesn't exist in arch/powerpc.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      fd42c717
  15. 07 2月, 2007 1 次提交
    • V
      [POWERPC] Fix kernel build errors for mpc8272ads and mpc8560ads · 5427828e
      Vitaly Bordug 提交于
      Recent update of asm-powerpc/io.h caused cpm-related stuff to break in the
      current kernel. Current patch fixes it, as well as other inconsistencies
      expressed, that do not permit targets from working properly:
      
      - Updated dts with a chosen node with interrupt controller,
      - fixed messed device IDs among CPM2 SoC devices,
      - corrected odd header name and fixed type in defines,
      - Added 82xx subdir to the powerpc/platforms Makefile, missed during
        initial commit,
      - new solely-powerpc header file for 8260 family (was using one from
        arch/ppc, this one cleaned up from the extra stuff), in fact for now
        a placeholder to get the board-specific includes for stuff not yet
        capable to live with devicetree peeks only
      - Fixed couple of misprints in reference mpc8272 dts.
      Signed-off-by: NVitaly Bordug <vbordug@ru.mvista.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      5427828e
  16. 04 12月, 2006 1 次提交
    • B
      [POWERPC] Make pci_read_irq_line the default · f90bb153
      Benjamin Herrenschmidt 提交于
      This patch reworks the way IRQs are fixed up on PCI for arch powerpc.
      
      It makes pci_read_irq_line() called by default in the PCI code for
      devices that are probed, and add an optional per-device fixup in
      ppc_md for platforms that really need to correct what they obtain
      from pci_read_irq_line().
      
      It also removes ppc_md.irq_bus_setup which was only used by pSeries
      and should not be needed anymore.
      
      I've also removed the pSeries s7a workaround as it can't work with
      the current interrupt code anyway. I'm trying to get one of these
      machines working so I can test a proper fix for that problem.
      
      I also haven't updated the old-style fixup code from 85xx_cds.c
      because it's actually buggy :) It assigns pci_dev->irq hard coded
      numbers which is no good with the new IRQ mapping code. It should
      at least use irq_create_mapping(NULL, hard_coded_number); and possibly
      also set_irq_type() to set them as level low.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f90bb153
  17. 10 10月, 2006 1 次提交
  18. 07 10月, 2006 1 次提交
  19. 04 10月, 2006 1 次提交