X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Falpha%2Fkernel%2Fosf_sys.c;h=973c5c3705e3f08d2669d08f1a15ae0df44c85b8;hb=f3aafa6c2535d36542a6dfc8647cd2fdb5999648;hp=ce857158c1eacc2a1b22ac0f6c278a5501d9d42b;hpb=ec4883b015c3212f6f6d04fb2ff45f528492f598;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index ce857158c1ea..973c5c3705e3 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -430,7 +429,7 @@ sys_getpagesize(void) asmlinkage unsigned long sys_getdtablesize(void) { - return NR_OPEN; + return sysctl_nr_open; } /* @@ -715,7 +714,7 @@ osf_setsysinfo(unsigned long op, void __user *buffer, unsigned long nbytes, /* * Alpha Architecture Handbook 4.7.7.3: * To be fully IEEE compiant, we must track the current IEEE - * exception state in software, because spurrious bits can be + * exception state in software, because spurious bits can be * set in the trap shadow of a software-complete insn. */