diff options
| author | Helge Deller <deller@gmx.de> | 2016-04-08 15:36:06 -0400 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2016-04-08 16:14:26 -0400 |
| commit | cb910c1714cc198fa868695c276a2bff0f8900e7 (patch) | |
| tree | f790a5422d9d06a96ba229a98b7c6a6798c16159 /arch/parisc/include | |
| parent | 2ef4dfd9d9f288943e249b78365a69e3ea3ec072 (diff) | |
parisc: Update comment regarding relative extable support
Update the comment to reflect the changes of commit 0de7985 (parisc: Use
generic extable search and sort routines).
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
| -rw-r--r-- | arch/parisc/include/asm/uaccess.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/parisc/include/asm/uaccess.h b/arch/parisc/include/asm/uaccess.h index 6f893d29f1b2..7955e43f3f3f 100644 --- a/arch/parisc/include/asm/uaccess.h +++ b/arch/parisc/include/asm/uaccess.h | |||
| @@ -44,20 +44,18 @@ static inline long access_ok(int type, const void __user * addr, | |||
| 44 | #define LDD_USER(ptr) BUILD_BUG() | 44 | #define LDD_USER(ptr) BUILD_BUG() |
| 45 | #define STD_KERNEL(x, ptr) __put_kernel_asm64(x, ptr) | 45 | #define STD_KERNEL(x, ptr) __put_kernel_asm64(x, ptr) |
| 46 | #define STD_USER(x, ptr) __put_user_asm64(x, ptr) | 46 | #define STD_USER(x, ptr) __put_user_asm64(x, ptr) |
| 47 | #define ASM_WORD_INSN ".word\t" | ||
| 48 | #else | 47 | #else |
| 49 | #define LDD_KERNEL(ptr) __get_kernel_asm("ldd", ptr) | 48 | #define LDD_KERNEL(ptr) __get_kernel_asm("ldd", ptr) |
| 50 | #define LDD_USER(ptr) __get_user_asm("ldd", ptr) | 49 | #define LDD_USER(ptr) __get_user_asm("ldd", ptr) |
| 51 | #define STD_KERNEL(x, ptr) __put_kernel_asm("std", x, ptr) | 50 | #define STD_KERNEL(x, ptr) __put_kernel_asm("std", x, ptr) |
| 52 | #define STD_USER(x, ptr) __put_user_asm("std", x, ptr) | 51 | #define STD_USER(x, ptr) __put_user_asm("std", x, ptr) |
| 53 | #define ASM_WORD_INSN ".dword\t" | ||
| 54 | #endif | 52 | #endif |
| 55 | 53 | ||
| 56 | /* | 54 | /* |
| 57 | * The exception table contains two values: the first is an address | 55 | * The exception table contains two values: the first is the relative offset to |
| 58 | * for an instruction that is allowed to fault, and the second is | 56 | * the address of the instruction that is allowed to fault, and the second is |
| 59 | * the address to the fixup routine. Even on a 64bit kernel we could | 57 | * the relative offset to the address of the fixup routine. Since relative |
| 60 | * use a 32bit (unsigned int) address here. | 58 | * addresses are used, 32bit values are sufficient even on 64bit kernel. |
| 61 | */ | 59 | */ |
| 62 | 60 | ||
| 63 | #define ARCH_HAS_RELATIVE_EXTABLE | 61 | #define ARCH_HAS_RELATIVE_EXTABLE |
