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

« back to all changes in this revision

Viewing changes to arch/x86/kernel/ptrace.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:
21
21
#include <linux/signal.h>
22
22
#include <linux/perf_event.h>
23
23
#include <linux/hw_breakpoint.h>
 
24
#include <trace/syscall.h>
24
25
 
25
26
#include <asm/uaccess.h>
26
27
#include <asm/pgtable.h>
152
153
                                  X86_EFLAGS_DF | X86_EFLAGS_OF |       \
153
154
                                  X86_EFLAGS_RF | X86_EFLAGS_AC))
154
155
 
 
156
DEFINE_TRACE(syscall_entry);
 
157
DEFINE_TRACE(syscall_exit);
 
158
 
155
159
/*
156
160
 * Determines whether a value may be installed in a segment register.
157
161
 */
1361
1365
        if (test_thread_flag(TIF_SINGLESTEP))
1362
1366
                regs->flags |= X86_EFLAGS_TF;
1363
1367
 
 
1368
        trace_syscall_entry(regs, regs->orig_ax);
 
1369
 
1364
1370
        /* do the secure computing check first */
1365
1371
        secure_computing(regs->orig_ax);
1366
1372
 
1396
1402
{
1397
1403
        bool step;
1398
1404
 
 
1405
        trace_syscall_exit(regs->ax);
 
1406
 
1399
1407
        if (unlikely(current->audit_context))
1400
1408
                audit_syscall_exit(AUDITSC_RESULT(regs->ax), regs->ax);
1401
1409