All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] alpha: implement setsysinfo(SSI_LMF) as a no-op
@ 2011-08-26 17:52 mru
  2011-08-26 18:10 ` Måns Rullgård
  0 siblings, 1 reply; 2+ messages in thread
From: mru @ 2011-08-26 17:52 UTC (permalink / raw)
  To: linux-alpha

This allows running software using the Tru64 license manager.
For simplicity, no check for a valid license is done.  This
should not be seen as encouraging software piracy.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 arch/alpha/include/asm/sysinfo.h |    1 +
 arch/alpha/kernel/osf_sys.c      |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/alpha/include/asm/sysinfo.h b/arch/alpha/include/asm/sysinfo.h
index 086aba2..0b6a32d 100644
--- a/arch/alpha/include/asm/sysinfo.h
+++ b/arch/alpha/include/asm/sysinfo.h
@@ -15,6 +15,7 @@
 #define GSI_GET_HWRPB			101
 
 #define SSI_NVPAIRS			1
+#define SSI_LMF				7
 #define SSI_IEEE_FP_CONTROL		14
 #define SSI_IEEE_STATE_AT_SIGNAL	15
 #define SSI_IEEE_IGNORE_STATE_AT_SIGNAL	16
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index 326f0a2..484e9e0 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -770,6 +770,9 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
  		return 0;
 	}
  
+	case SSI_LMF:
+		return 0;
+
 	default:
 		break;
 	}
-- 
1.7.6.1


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

* Re: [PATCH] alpha: implement setsysinfo(SSI_LMF) as a no-op
  2011-08-26 17:52 [PATCH] alpha: implement setsysinfo(SSI_LMF) as a no-op mru
@ 2011-08-26 18:10 ` Måns Rullgård
  0 siblings, 0 replies; 2+ messages in thread
From: Måns Rullgård @ 2011-08-26 18:10 UTC (permalink / raw)
  To: linux-alpha

mru@mansr.com writes:

> This allows running software using the Tru64 license manager.
> For simplicity, no check for a valid license is done.  This
> should not be seen as encouraging software piracy.
>
> Signed-off-by: Mans Rullgard <mans@mansr.com>

Something ate the From line on this mail...

-- 
Måns Rullgård
mans@mansr.com

--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-08-26 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26 17:52 [PATCH] alpha: implement setsysinfo(SSI_LMF) as a no-op mru
2011-08-26 18:10 ` Måns Rullgård

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.