]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
alpha: implement setsysinfo(SSI_LMF) as a no-op
authorMans Rullgard <mans@mansr.com>
Fri, 26 Aug 2011 17:52:14 +0000 (18:52 +0100)
committerMatt Turner <mattst88@gmail.com>
Thu, 24 May 2012 18:27:55 +0000 (14:27 -0400)
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>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/sysinfo.h
arch/alpha/kernel/osf_sys.c

index e77d77cd07b8b8bfc69277d32ae5782344c9320a..0b80e79d75e5460df614e7e3a39d3e2d8046896d 100644 (file)
@@ -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
index 49ee3193477aff3c372f3c2372cdb461a89d37ab..9a81044a8947e4bd26c554db9afdf6878f9e36da 100644 (file)
@@ -771,6 +771,9 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
                return 0;
        }
  
+       case SSI_LMF:
+               return 0;
+
        default:
                break;
        }