1. 08 Jul, 2010 4 commits
    • Stephen Rothwell's avatar
      powerpc: Fix compile errors in prom_init_check for gcc 4.5 · 5afd878a
      Stephen Rothwell authored
      Just whitelist these extra compiler generated symbols.
      Fixes these errors:
      
      Error: External symbol '_restgpr0_14' referenced from prom_init.c
      Error: External symbol '_restgpr0_20' referenced from prom_init.c
      Error: External symbol '_restgpr0_22' referenced from prom_init.c
      Error: External symbol '_restgpr0_24' referenced from prom_init.c
      Error: External symbol '_restgpr0_25' referenced from prom_init.c
      Error: External symbol '_restgpr0_26' referenced from prom_init.c
      Error: External symbol '_restgpr0_27' referenced from prom_init.c
      Error: External symbol '_restgpr0_28' referenced from prom_init.c
      Error: External symbol '_restgpr0_29' referenced from prom_init.c
      Error: External symbol '_restgpr0_31' referenced from prom_init.c
      Error: External symbol '_savegpr0_14' referenced from prom_init.c
      Error: External symbol '_savegpr0_20' referenced from prom_init.c
      Error: External symbol '_savegpr0_22' referenced from prom_init.c
      Error: External symbol '_savegpr0_24' referenced from prom_init.c
      Error: External symbol '_savegpr0_25' referenced from prom_init.c
      Error: External symbol '_savegpr0_26' referenced from prom_init.c
      Error: External symbol '_savegpr0_27' referenced from prom_init.c
      Error: External symbol '_savegpr0_28' referenced from prom_init.c
      Error: External symbol '_savegpr0_29' referenced from prom_init.c
      Error: External symbol '_savegpr0_31' referenced from prom_init.c
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Acked-by: default avatarSegher Boessenkool <segher@kernel.crashing.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      5afd878a
    • Stephen Rothwell's avatar
      powerpc: Fix module building for gcc 4.5 and 64 bit · 7fca5dc8
      Stephen Rothwell authored
      Gcc 4.5 is now generating out of line register save and restore
      in the function prefix and postfix when we use -Os.
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      7fca5dc8
    • Matt Evans's avatar
      powerpc/perf_event: Fix for power_pmu_disable() · 219a92a4
      Matt Evans authored
      When power_pmu_disable() removes the given event from a particular index into
      cpuhw->event[], it shuffles down higher event[] entries.  But, this array is
      paired with cpuhw->events[] and cpuhw->flags[] so should shuffle them
      similarly.
      
      If these arrays get out of sync, code such as power_check_constraints() will
      fail.  This caused a bug where events were temporarily disabled and then failed
      to be re-enabled; subsequent code tried to write_pmc() with its (disabled) idx
      of 0, causing a message "oops trying to write PMC0".  This triggers this bug on
      POWER7, running a miss-heavy test:
      
        perf record -e L1-dcache-load-misses -e L1-dcache-store-misses ./misstest
      Signed-off-by: default avatarMatt Evans <matt@ozlabs.org>
      Acked-by: default avatarPaul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      219a92a4
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 2aa72f61
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (35 commits)
        NET: SB1250: Initialize .owner
        vxge: show startup message with KERN_INFO
        ll_temac: Fix missing iounmaps
        bridge: Clear IPCB before possible entry into IP stack
        bridge br_multicast: BUG: unable to handle kernel NULL pointer dereference
        net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is defined
        net/ne: fix memory leak in ne_drv_probe()
        xfrm: fix xfrm by MARK logic
        virtio_net: fix oom handling on tx
        virtio_net: do not reschedule rx refill forever
        s2io: resolve statistics issues
        linux/net.h: fix kernel-doc warnings
        net: decreasing real_num_tx_queues needs to flush qdisc
        sched: qdisc_reset_all_tx is calling qdisc_reset without qdisc_lock
        qlge: fix a eeh handler to not add a pending timer
        qlge: Replacing add_timer() to mod_timer()
        usbnet: Set parent device early for netdev_printk()
        net: Revert "rndis_host: Poll status channel before control channel"
        netfilter: ip6t_REJECT: fix a dst leak in ipv6 REJECT
        drivers: bluetooth: bluecard_cs.c: Fixed include error, changed to linux/io.h
        ...
      2aa72f61
  2. 07 Jul, 2010 14 commits
  3. 06 Jul, 2010 3 commits
  4. 05 Jul, 2010 19 commits