diff options
Diffstat (limited to 'include/asm-ia64/asmmacro.h')
-rw-r--r-- | include/asm-ia64/asmmacro.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-ia64/asmmacro.h b/include/asm-ia64/asmmacro.h index 77af457f4ad7..edf2cebb2969 100644 --- a/include/asm-ia64/asmmacro.h +++ b/include/asm-ia64/asmmacro.h | |||
@@ -38,6 +38,10 @@ name: | |||
38 | 38 | ||
39 | /* | 39 | /* |
40 | * Helper macros for accessing user memory. | 40 | * Helper macros for accessing user memory. |
41 | * | ||
42 | * When adding any new .section/.previous entries here, make sure to | ||
43 | * also add it to the DISCARD section in arch/ia64/kernel/gate.lds.S or | ||
44 | * unpleasant things will happen. | ||
41 | */ | 45 | */ |
42 | 46 | ||
43 | .section "__ex_table", "a" // declare section & section attributes | 47 | .section "__ex_table", "a" // declare section & section attributes |
@@ -51,6 +55,17 @@ name: | |||
51 | [99:] x | 55 | [99:] x |
52 | 56 | ||
53 | /* | 57 | /* |
58 | * Tag MCA recoverable instruction ranges. | ||
59 | */ | ||
60 | |||
61 | .section "__mca_table", "a" // declare section & section attributes | ||
62 | .previous | ||
63 | |||
64 | # define MCA_RECOVER_RANGE(y) \ | ||
65 | .xdata4 "__mca_table", y-., 99f-.; \ | ||
66 | [99:] | ||
67 | |||
68 | /* | ||
54 | * Mark instructions that need a load of a virtual address patched to be | 69 | * Mark instructions that need a load of a virtual address patched to be |
55 | * a load of a physical address. We use this either in critical performance | 70 | * a load of a physical address. We use this either in critical performance |
56 | * path (ivt.S - TLB miss processing) or in places where it might not be | 71 | * path (ivt.S - TLB miss processing) or in places where it might not be |