diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-11-10 13:01:22 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-12-11 11:09:50 +0300 |
commit | d5d797dcbd781cb7c526ad32f31c7fd96babfdb2 (patch) | |
tree | dd64239b122e8ab932f750b121d88bdacbff9120 /arch/x86/include/asm/msr-index.h | |
parent | 13e4bf1bddcb65dd028aaa492789e8d61efaafa1 (diff) | |
download | linux-d5d797dcbd781cb7c526ad32f31c7fd96babfdb2.tar.xz |
x86/usercopy: Remove .fixup usage
Typically usercopy does whole word copies followed by a number of byte
copies to finish the tail. This means that on exception it needs to
compute the remaining length as: words*sizeof(long) + bytes.
Create a new extable handler to do just this.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101326.081701085@infradead.org
Diffstat (limited to 'arch/x86/include/asm/msr-index.h')
0 files changed, 0 insertions, 0 deletions