Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb910c17 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Update comment regarding relative extable support



Update the comment to reflect the changes of commit 0de79858 (parisc: Use
generic extable search and sort routines).

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 2ef4dfd9
Loading
Loading
Loading
Loading
+4 −6
Original line number Original line Diff line number Diff line
@@ -44,20 +44,18 @@ static inline long access_ok(int type, const void __user * addr,
#define LDD_USER(ptr)		BUILD_BUG()
#define LDD_USER(ptr)		BUILD_BUG()
#define STD_KERNEL(x, ptr)	__put_kernel_asm64(x, ptr)
#define STD_KERNEL(x, ptr)	__put_kernel_asm64(x, ptr)
#define STD_USER(x, ptr)	__put_user_asm64(x, ptr)
#define STD_USER(x, ptr)	__put_user_asm64(x, ptr)
#define ASM_WORD_INSN		".word\t"
#else
#else
#define LDD_KERNEL(ptr)		__get_kernel_asm("ldd", ptr)
#define LDD_KERNEL(ptr)		__get_kernel_asm("ldd", ptr)
#define LDD_USER(ptr)		__get_user_asm("ldd", ptr)
#define LDD_USER(ptr)		__get_user_asm("ldd", ptr)
#define STD_KERNEL(x, ptr)	__put_kernel_asm("std", x, ptr)
#define STD_KERNEL(x, ptr)	__put_kernel_asm("std", x, ptr)
#define STD_USER(x, ptr)	__put_user_asm("std", x, ptr)
#define STD_USER(x, ptr)	__put_user_asm("std", x, ptr)
#define ASM_WORD_INSN		".dword\t"
#endif
#endif


/*
/*
 * The exception table contains two values: the first is an address
 * The exception table contains two values: the first is the relative offset to
 * for an instruction that is allowed to fault, and the second is
 * the address of the instruction that is allowed to fault, and the second is
 * the address to the fixup routine. Even on a 64bit kernel we could
 * the relative offset to the address of the fixup routine. Since relative
 * use a 32bit (unsigned int) address here.
 * addresses are used, 32bit values are sufficient even on 64bit kernel.
 */
 */


#define ARCH_HAS_RELATIVE_EXTABLE
#define ARCH_HAS_RELATIVE_EXTABLE