]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Add sensible read values for /proc/<pid>/sparc_adi
authorKhalid Aziz <khalid.aziz@oracle.com>
Fri, 2 Dec 2016 19:45:37 +0000 (12:45 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 9 Mar 2017 03:30:17 +0000 (19:30 -0800)
commit54cc45869238af877fc71e7700dc5b90fc33fc22
tree707489b7f16962fefe3348165419195e0621a2c8
parent5a51d6405596897ef4186ce2847a06595123f9f8
sparc64: Add sensible read values for /proc/<pid>/sparc_adi

This patch makes value read from /proc/<pid>/sparc_adi consistent
across platforms that support ADi and ones that do not. When ADI is
not available for a process either due to process being an anonymous
process on an ADI-capable platform or the process is running on a
non-ADI platform, a read from /proc/<pid>/sparc_adi always reads a
value of -1. This patch updates the documentation file as well with
the values for sparc_adi proc file.

Orabug: 25173120

Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Documentation/sparc/adi.txt
fs/proc/base.c