All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parisc: Drop HP-UX specifix fcntl and signal flags
@ 2020-08-29 10:51 Helge Deller
  2020-08-29 11:26 ` Rolf Eike Beer
  0 siblings, 1 reply; 3+ messages in thread
From: Helge Deller @ 2020-08-29 10:51 UTC (permalink / raw)
  To: linux-parisc, James Bottomley, John David Anglin

Those flags are nowhere used in the Linux kernel and were added when we
still wanted to support HP-UX in a compat mode. Since we never will
support HP-UX, drop those flags.

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/arch/parisc/include/uapi/asm/fcntl.h b/arch/parisc/include/uapi/asm/fcntl.h
index 03ce20e5ad7d..4289ee732c4c 100644
--- a/arch/parisc/include/uapi/asm/fcntl.h
+++ b/arch/parisc/include/uapi/asm/fcntl.h
@@ -3,7 +3,6 @@
 #define _PARISC_FCNTL_H

 #define O_APPEND	000000010
-#define O_BLKSEEK	000000100 /* HPUX only */
 #define O_CREAT		000000400 /* not fcntl */
 #define O_EXCL		000002000 /* not fcntl */
 #define O_LARGEFILE	000004000
@@ -12,13 +11,11 @@
 #define O_NONBLOCK	000200004 /* HPUX has separate NDELAY & NONBLOCK */
 #define O_NOCTTY	000400000 /* not fcntl */
 #define O_DSYNC		001000000 /* HPUX only */
-#define O_RSYNC		002000000 /* HPUX only */
 #define O_NOATIME	004000000
 #define O_CLOEXEC	010000000 /* set close_on_exec */

 #define O_DIRECTORY	000010000 /* must be a directory */
 #define O_NOFOLLOW	000000200 /* don't follow links */
-#define O_INVISIBLE	004000000 /* invisible I/O, for DMAPI/XDSM */

 #define O_PATH		020000000
 #define __O_TMPFILE	040000000
diff --git a/arch/parisc/include/uapi/asm/signal.h b/arch/parisc/include/uapi/asm/signal.h
index d38563a394f2..045fde6d2fac 100644
--- a/arch/parisc/include/uapi/asm/signal.h
+++ b/arch/parisc/include/uapi/asm/signal.h
@@ -61,7 +61,6 @@
 #define SA_NODEFER	0x00000020
 #define SA_RESTART	0x00000040
 #define SA_NOCLDWAIT	0x00000080
-#define _SA_SIGGFAULT	0x00000100 /* HPUX */

 #define SA_NOMASK	SA_NODEFER
 #define SA_ONESHOT	SA_RESETHAND

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] parisc: Drop HP-UX specifix fcntl and signal flags
  2020-08-29 10:51 [PATCH] parisc: Drop HP-UX specifix fcntl and signal flags Helge Deller
@ 2020-08-29 11:26 ` Rolf Eike Beer
  2020-08-29 12:22   ` Helge Deller
  0 siblings, 1 reply; 3+ messages in thread
From: Rolf Eike Beer @ 2020-08-29 11:26 UTC (permalink / raw)
  To: linux-parisc, James Bottomley, John David Anglin, Helge Deller

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

Am Samstag, 29. August 2020, 12:51:12 CEST schrieb Helge Deller:
> Those flags are nowhere used in the Linux kernel and were added when we
> still wanted to support HP-UX in a compat mode. Since we never will
> support HP-UX, drop those flags.
> 
> Signed-off-by: Helge Deller <deller@gmx.de>
> 
> diff --git a/arch/parisc/include/uapi/asm/fcntl.h
> b/arch/parisc/include/uapi/asm/fcntl.h index 03ce20e5ad7d..4289ee732c4c
> 100644
> --- a/arch/parisc/include/uapi/asm/fcntl.h
> +++ b/arch/parisc/include/uapi/asm/fcntl.h
> @@ -3,7 +3,6 @@
>  #define _PARISC_FCNTL_H
> 
>  #define O_APPEND	000000010
> -#define O_BLKSEEK	000000100 /* HPUX only */
>  #define O_CREAT		000000400 /* not fcntl */
>  #define O_EXCL		000002000 /* not fcntl */
>  #define O_LARGEFILE	000004000
> @@ -12,13 +11,11 @@
>  #define O_NONBLOCK	000200004 /* HPUX has separate NDELAY & NONBLOCK */
>  #define O_NOCTTY	000400000 /* not fcntl */
>  #define O_DSYNC		001000000 /* HPUX only */
> -#define O_RSYNC		002000000 /* HPUX only */

So, what about O_DSYNC? Either it should go away the same if it is HPUX only, 
or the comment needs to be fixed.

Eike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] parisc: Drop HP-UX specifix fcntl and signal flags
  2020-08-29 11:26 ` Rolf Eike Beer
@ 2020-08-29 12:22   ` Helge Deller
  0 siblings, 0 replies; 3+ messages in thread
From: Helge Deller @ 2020-08-29 12:22 UTC (permalink / raw)
  To: Rolf Eike Beer, linux-parisc, James Bottomley, John David Anglin


[-- Attachment #1.1: Type: text/plain, Size: 1420 bytes --]

On 29.08.20 13:26, Rolf Eike Beer wrote:
> Am Samstag, 29. August 2020, 12:51:12 CEST schrieb Helge Deller:
>> Those flags are nowhere used in the Linux kernel and were added when we
>> still wanted to support HP-UX in a compat mode. Since we never will
>> support HP-UX, drop those flags.
>>
>> Signed-off-by: Helge Deller <deller@gmx.de>
>>
>> diff --git a/arch/parisc/include/uapi/asm/fcntl.h
>> b/arch/parisc/include/uapi/asm/fcntl.h index 03ce20e5ad7d..4289ee732c4c
>> 100644
>> --- a/arch/parisc/include/uapi/asm/fcntl.h
>> +++ b/arch/parisc/include/uapi/asm/fcntl.h
>> @@ -3,7 +3,6 @@
>>  #define _PARISC_FCNTL_H
>>
>>  #define O_APPEND	000000010
>> -#define O_BLKSEEK	000000100 /* HPUX only */
>>  #define O_CREAT		000000400 /* not fcntl */
>>  #define O_EXCL		000002000 /* not fcntl */
>>  #define O_LARGEFILE	000004000
>> @@ -12,13 +11,11 @@
>>  #define O_NONBLOCK	000200004 /* HPUX has separate NDELAY & NONBLOCK */
>>  #define O_NOCTTY	000400000 /* not fcntl */
>>  #define O_DSYNC		001000000 /* HPUX only */
>> -#define O_RSYNC		002000000 /* HPUX only */
> 
> So, what about O_DSYNC? Either it should go away the same if it is HPUX only, 
> or the comment needs to be fixed.

That's true.
I had it fixed already in my git tree:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id=297f57686b3f634306b6a67a90d5a146392693c2

Helge


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-29 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29 10:51 [PATCH] parisc: Drop HP-UX specifix fcntl and signal flags Helge Deller
2020-08-29 11:26 ` Rolf Eike Beer
2020-08-29 12:22   ` Helge Deller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.