~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/arm/mm/pabort-v7.S

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <linux/linkage.h>
 
2
#include <asm/assembler.h>
 
3
 
 
4
/*
 
5
 * Function: v7_pabort
 
6
 *
 
7
 * Params  : r2 = pt_regs
 
8
 *         : r4 = address of aborted instruction
 
9
 *         : r5 = psr for parent context
 
10
 *
 
11
 * Returns : r4 - r11, r13 preserved
 
12
 *
 
13
 * Purpose : obtain information about current prefetch abort.
 
14
 */
 
15
 
 
16
        .align  5
 
17
ENTRY(v7_pabort)
 
18
        mrc     p15, 0, r0, c6, c0, 2           @ get IFAR
 
19
        mrc     p15, 0, r1, c5, c0, 1           @ get IFSR
 
20
        b       do_PrefetchAbort
 
21
ENDPROC(v7_pabort)