diff options
Diffstat (limited to 'arch/ia64/kernel/pal.S')
| -rw-r--r-- | arch/ia64/kernel/pal.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ia64/kernel/pal.S b/arch/ia64/kernel/pal.S index 0b533441c3c9..94fb2e395498 100644 --- a/arch/ia64/kernel/pal.S +++ b/arch/ia64/kernel/pal.S | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | #include <asm/asmmacro.h> | 15 | #include <asm/asmmacro.h> |
| 16 | #include <asm/processor.h> | 16 | #include <asm/processor.h> |
| 17 | #include <asm/export.h> | ||
| 17 | 18 | ||
| 18 | .data | 19 | .data |
| 19 | pal_entry_point: | 20 | pal_entry_point: |
| @@ -87,6 +88,7 @@ GLOBAL_ENTRY(ia64_pal_call_static) | |||
| 87 | srlz.d // seralize restoration of psr.l | 88 | srlz.d // seralize restoration of psr.l |
| 88 | br.ret.sptk.many b0 | 89 | br.ret.sptk.many b0 |
| 89 | END(ia64_pal_call_static) | 90 | END(ia64_pal_call_static) |
| 91 | EXPORT_SYMBOL(ia64_pal_call_static) | ||
| 90 | 92 | ||
| 91 | /* | 93 | /* |
| 92 | * Make a PAL call using the stacked registers calling convention. | 94 | * Make a PAL call using the stacked registers calling convention. |
| @@ -122,6 +124,7 @@ GLOBAL_ENTRY(ia64_pal_call_stacked) | |||
| 122 | srlz.d // serialize restoration of psr.l | 124 | srlz.d // serialize restoration of psr.l |
| 123 | br.ret.sptk.many b0 | 125 | br.ret.sptk.many b0 |
| 124 | END(ia64_pal_call_stacked) | 126 | END(ia64_pal_call_stacked) |
| 127 | EXPORT_SYMBOL(ia64_pal_call_stacked) | ||
| 125 | 128 | ||
| 126 | /* | 129 | /* |
| 127 | * Make a physical mode PAL call using the static registers calling convention. | 130 | * Make a physical mode PAL call using the static registers calling convention. |
| @@ -193,6 +196,7 @@ GLOBAL_ENTRY(ia64_pal_call_phys_static) | |||
| 193 | srlz.d // seralize restoration of psr.l | 196 | srlz.d // seralize restoration of psr.l |
| 194 | br.ret.sptk.many b0 | 197 | br.ret.sptk.many b0 |
| 195 | END(ia64_pal_call_phys_static) | 198 | END(ia64_pal_call_phys_static) |
| 199 | EXPORT_SYMBOL(ia64_pal_call_phys_static) | ||
| 196 | 200 | ||
| 197 | /* | 201 | /* |
| 198 | * Make a PAL call using the stacked registers in physical mode. | 202 | * Make a PAL call using the stacked registers in physical mode. |
| @@ -250,6 +254,7 @@ GLOBAL_ENTRY(ia64_pal_call_phys_stacked) | |||
| 250 | srlz.d // seralize restoration of psr.l | 254 | srlz.d // seralize restoration of psr.l |
| 251 | br.ret.sptk.many b0 | 255 | br.ret.sptk.many b0 |
| 252 | END(ia64_pal_call_phys_stacked) | 256 | END(ia64_pal_call_phys_stacked) |
| 257 | EXPORT_SYMBOL(ia64_pal_call_phys_stacked) | ||
| 253 | 258 | ||
| 254 | /* | 259 | /* |
| 255 | * Save scratch fp scratch regs which aren't saved in pt_regs already | 260 | * Save scratch fp scratch regs which aren't saved in pt_regs already |
| @@ -275,6 +280,7 @@ GLOBAL_ENTRY(ia64_save_scratch_fpregs) | |||
| 275 | stf.spill [r2] = f15,32 | 280 | stf.spill [r2] = f15,32 |
| 276 | br.ret.sptk.many rp | 281 | br.ret.sptk.many rp |
| 277 | END(ia64_save_scratch_fpregs) | 282 | END(ia64_save_scratch_fpregs) |
| 283 | EXPORT_SYMBOL(ia64_save_scratch_fpregs) | ||
| 278 | 284 | ||
| 279 | /* | 285 | /* |
| 280 | * Load scratch fp scratch regs (fp10-fp15) | 286 | * Load scratch fp scratch regs (fp10-fp15) |
| @@ -296,3 +302,4 @@ GLOBAL_ENTRY(ia64_load_scratch_fpregs) | |||
| 296 | ldf.fill f15 = [r2],32 | 302 | ldf.fill f15 = [r2],32 |
| 297 | br.ret.sptk.many rp | 303 | br.ret.sptk.many rp |
| 298 | END(ia64_load_scratch_fpregs) | 304 | END(ia64_load_scratch_fpregs) |
| 305 | EXPORT_SYMBOL(ia64_load_scratch_fpregs) | ||
