Skip to contentSkip to conversation

__ppc_set_ppr_med.3: Add AVAILABILITY

PATCH In review Wainer dos Santos Moschetta 2 participants 4 messages Dec 27, 2016 – Dec 28, 2016 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 __ppc_set_ppr_med.3: Add AVAILABILITY

The _ARCH_PWR8 macro must be defined to get the
__ppc_set_ppr_very_low() and __ppc_set_ppr_med_high()
functions definition.

---
 man3/__ppc_set_ppr_med.3 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
man3/__ppc_set_ppr_med.3 +12 -0
index a98107b..312aa39 100644
@@ -115,6 +115,18 @@ T}	Thread safety	MT-Safe
 .ad
 .SH CONFORMING TO
 These functions are nonstandard GNU extensions.
+.SH AVAILABILITY
+The functions
+.BR __ppc_set_ppr_very_low ()
+and
+.BR __ppc_set_ppr_med_high ()
+will be defined by
+.I <sys/platform/ppc.h>
+if
+.B _ARCH_PWR8
+is defined.
+Availability of these functions can be tested using
+.BR "#ifdef _ARCH_PWR8" .
 .SH SEE ALSO
 .BR __ppc_yield (3)
 
Signature · 6 lines
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

PATCH 2/2 __ppc_set_ppr_med.3: srcfix: update copyright date

In reply to a message not in the archive
---
 man3/__ppc_set_ppr_med.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/__ppc_set_ppr_med.3 +1 -1
index 312aa39..ab9e7fc 100644
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2015, IBM Corporation.
+.\" Copyright (c) 2015, 2016 IBM Corporation.
 .\"
 .\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
Signature · 6 lines
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
In reply to a message not in the archive
Quoted 3 lines · Wainer dos Santos Moschetta

The _ARCH_PWR8 macro must be defined to get the
__ppc_set_ppr_very_low() and __ppc_set_ppr_med_high()
functions definition.

Hello Wainer,

Thanks for the patch. Applied!

Cheers,

Michael

Quoted 29 lines
---
 man3/__ppc_set_ppr_med.3 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
man3/__ppc_set_ppr_med.3 +12 -0
index a98107b..312aa39 100644
@@ -115,6 +115,18 @@ T}	Thread safety	MT-Safe
 .ad
 .SH CONFORMING TO
 These functions are nonstandard GNU extensions.
+.SH AVAILABILITY
+The functions
+.BR __ppc_set_ppr_very_low ()
+and
+.BR __ppc_set_ppr_med_high ()
+will be defined by
+.I <sys/platform/ppc.h>
+if
+.B _ARCH_PWR8
+is defined.
+Availability of these functions can be tested using
+.BR "#ifdef _ARCH_PWR8" .
 .SH SEE ALSO
 .BR __ppc_yield (3)
 
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

Re: [PATCH 2/2] __ppc_set_ppr_med.3: srcfix: update copyright date

In reply to a message not in the archive
Quoted 10 lines · Wainer dos Santos Moschetta
---
 man3/__ppc_set_ppr_med.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/__ppc_set_ppr_med.3 +0 -0
index 312aa39..ab9e7fc 100644

man3/__ppc_set_ppr_med.3 line 4

Quoted 5 lines
man3/__ppc_set_ppr_med.3 +1 -1
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2015, IBM Corporation.
+.\" Copyright (c) 2015, 2016 IBM Corporation.
 .\"
 .\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this

Thanks. In this case, the change could have also been merged with the previous patch, and that's what I've done.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html