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

Configure Feed

Select the types of activity you want to include in your feed.

docs: powerpc: syscall64-abi.rst: fix a malformed table

As reported:

Documentation/powerpc/syscall64-abi.rst:53: WARNING: Malformed table.
Text in column margin in table line 2.

=========== ============= ========================================
--- For the sc instruction, differences with the ELF ABI ---
r0 Volatile (System call number.)

This table requires a different notation to be valid.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

+16 -16
+16 -16
Documentation/powerpc/syscall64-abi.rst
··· 49 49 Register preservation rules match the ELF ABI calling sequence with the 50 50 following differences: 51 51 52 - --- For the sc instruction, differences with the ELF ABI --- 53 - =========== ============= ======================================== 54 - r0 Volatile (System call number.) 55 - r3 Volatile (Parameter 1, and return value.) 56 - r4-r8 Volatile (Parameters 2-6.) 57 - cr0 Volatile (cr0.SO is the return error condition.) 58 - cr1, cr5-7 Nonvolatile 59 - lr Nonvolatile 60 - =========== ============= ======================================== 61 - 62 - --- For the scv 0 instruction, differences with the ELF ABI --- 63 - =========== ============= ======================================== 64 - r0 Volatile (System call number.) 65 - r3 Volatile (Parameter 1, and return value.) 66 - r4-r8 Volatile (Parameters 2-6.) 67 - =========== ============= ======================================== 52 + +------------------------------------------------------------------------+ 53 + | For the sc instruction, differences with the ELF ABI | 54 + +--------------+--------------+------------------------------------------+ 55 + | r0 | Volatile | (System call number.) | 56 + | rr3 | Volatile | (Parameter 1, and return value.) | 57 + | rr4-r8 | Volatile | (Parameters 2-6.) | 58 + | rcr0 | Volatile | (cr0.SO is the return error condition.) | 59 + | rcr1, cr5-7 | Nonvolatile | | 60 + | rlr | Nonvolatile | | 61 + +--------------+--------------+------------------------------------------+ 62 + | For the scv 0 instruction, differences with the ELF ABI | 63 + +--------------+--------------+------------------------------------------+ 64 + | r0 | Volatile | (System call number.) | 65 + | r3 | Volatile | (Parameter 1, and return value.) | 66 + | r4-r8 | Volatile | (Parameters 2-6.) | 67 + +--------------+--------------+------------------------------------------+ 68 68 69 69 All floating point and vector data registers as well as control and status 70 70 registers are nonvolatile.