| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * This file contains miscellaneous low-level functions. |
|---|
| 3 | 4 | * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) |
|---|
| .. | .. |
|---|
| 8 | 9 | * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com) |
|---|
| 9 | 10 | * |
|---|
| 10 | 11 | * setjmp/longjmp code by Paul Mackerras. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or |
|---|
| 13 | | - * modify it under the terms of the GNU General Public License |
|---|
| 14 | | - * as published by the Free Software Foundation; either version |
|---|
| 15 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 16 | 12 | */ |
|---|
| 17 | 13 | #include <asm/ppc_asm.h> |
|---|
| 18 | 14 | #include <asm/unistd.h> |
|---|
| .. | .. |
|---|
| 40 | 36 | add r3,r3,r5 |
|---|
| 41 | 37 | mtlr r0 |
|---|
| 42 | 38 | blr |
|---|
| 39 | +_ASM_NOKPROBE_SYMBOL(reloc_offset) |
|---|
| 40 | +_ASM_NOKPROBE_SYMBOL(add_reloc_offset) |
|---|
| 43 | 41 | |
|---|
| 44 | 42 | .align 3 |
|---|
| 45 | 43 | 2: PPC_LONG 1b |
|---|
| .. | .. |
|---|
| 114 | 112 | li r3, 1 |
|---|
| 115 | 113 | blr |
|---|
| 116 | 114 | |
|---|
| 117 | | -_GLOBAL(current_stack_pointer) |
|---|
| 115 | +_GLOBAL(current_stack_frame) |
|---|
| 118 | 116 | PPC_LL r3,0(r1) |
|---|
| 119 | 117 | blr |
|---|
| 120 | | -EXPORT_SYMBOL(current_stack_pointer) |
|---|
| 118 | +EXPORT_SYMBOL(current_stack_frame) |
|---|