~ubuntu-branches/ubuntu/trusty/linux-linaro-u8500/trusty

« back to all changes in this revision

Viewing changes to arch/powerpc/kernel/process.c

  • Committer: Bazaar Package Importer
  • Author(s): John Rigby, Upstream Fixes, Andy Green, John Rigby
  • Date: 2011-04-14 12:16:06 UTC
  • Revision ID: james.westby@ubuntu.com-20110414121606-b77podkyqgr2oix7
Tags: 2.6.38-1002.3
[ Upstream Fixes ]

* MUSB: shutdown: Make sure block is awake before doing shutdown
  - LP: #745737
* Fixed gpio polarity of gpio USB-phy reset.
  - LP: #747639

[ Andy Green ]

* LINARO: SAUCE: disable CONFIG_OMAP_RESET_CLOCKS
  - LP: #752900

[ John Rigby ]

* Rebase to new upstreams:
  Linux v2.6.38.1
  linaro-linux-2.6.38-upstream-29Mar2011
  Ubuntu-2.6.38-7.35
* SAUCE: OMAP4: clock: wait for module to become accessible on
  a clk enable
  - LP: #745737
* Rebase to new upstreams:
  Linux v2.6.38.2
  linaro-linux-2.6.38-upstream-5Apr2011
  Ubuntu-2.6.38-8.41
  - LP: #732842
* Update configs for device tree, dvfs and lttng
* LINARO: add building of dtb's
* LINARO: SAUCE: Disable lowest operating freqs on omap34xx
  - LP: #732912

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include <linux/personality.h>
39
39
#include <linux/random.h>
40
40
#include <linux/hw_breakpoint.h>
 
41
#include <trace/sched.h>
41
42
 
42
43
#include <asm/pgtable.h>
43
44
#include <asm/uaccess.h>
55
56
#include <linux/kprobes.h>
56
57
#include <linux/kdebug.h>
57
58
 
 
59
DEFINE_TRACE(sched_kthread_create);
 
60
 
58
61
extern unsigned long _get_SP(void);
59
62
 
60
63
#ifndef CONFIG_SMP
663
666
                show_instructions(regs);
664
667
}
665
668
 
 
669
long original_kernel_thread(int (*fn) (void *), void *arg, unsigned long flags);
 
670
 
 
671
long kernel_thread(int (fn) (void *), void *arg, unsigned long flags)
 
672
{
 
673
        long retval;
 
674
 
 
675
        retval = original_kernel_thread(fn, arg, flags);
 
676
        trace_sched_kthread_create(fn, retval);
 
677
        return retval;
 
678
}
 
679
 
666
680
void exit_thread(void)
667
681
{
668
682
        discard_lazy_cpu_state();