Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: exception-tables.rst: Fix the wrong steps referenced

When it was in text format, it correctly hardcoded steps 8a to 8c.
However, after it was converted to RST, the sequence numbers were
auto-generated during rendering and became incorrect after some
steps were inserted.

Change it to refer to steps a to c in a relative way.

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
[jc: Indented the line to make the relative reference more clear]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240614010028.48262-1-lizhijian@fujitsu.com

authored by

Li Zhijian and committed by
Jonathan Corbet
b3935909 0e5fbf62

+1 -1
+1 -1
Documentation/arch/x86/exception-tables.rst
··· 297 297 c) execution continues at local label 2 (address of the 298 298 instruction immediately after the faulting user access). 299 299 300 - The steps 8a to 8c in a certain way emulate the faulting instruction. 300 + The steps a to c above in a certain way emulate the faulting instruction. 301 301 302 302 That's it, mostly. If you look at our example, you might ask why 303 303 we set EAX to -EFAULT in the exception handler code. Well, the