diff options
| author | Christoph Hellwig <[email protected]> | 2021-09-16 07:04:05 +0000 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2021-09-24 11:35:07 +0000 |
| commit | 9fde0348640252c79d462c4d29a09a14e8741f5c (patch) | |
| tree | d4f9ba0894c1dd7701ae122d90b7dc227130501c /lib/netdev-notifier-error-inject.c | |
| parent | m68k: Provide __{get,put}_kernel_nofault (diff) | |
| download | kernel-9fde0348640252c79d462c4d29a09a14e8741f5c.tar.gz kernel-9fde0348640252c79d462c4d29a09a14e8741f5c.zip | |
m68k: Remove set_fs()
Add a m68k-only set_fc helper to set the SFC and DFC registers for the
few places that need to override it for special MM operations, but
disconnect that from the deprecated kernel-wide set_fs() API.
Note that the SFC/DFC registers are context switched, so there is no need
to disable preemption.
Partially based on an earlier patch from
Linus Torvalds <[email protected]>.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Michael Schmitz <[email protected]>
Tested-by: Michael Schmitz <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
