From 99639a8cac6cef12e7701c2c8ee46ff69152e526 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Mon, 24 Feb 2003 03:58:15 -0800 Subject: [PATCH] [PATCH] Spelling fixes - privilege This fixes: priviledge -> privilege priviledged -> privileged unpriviledged -> unprivileged nonpriviledged -> nonprivileged Fixes 7 occurrences in all. --- arch/alpha/kernel/traps.c | 2 +- arch/i386/kernel/cpu/intel.c | 2 +- drivers/net/wireless/airo.c | 2 +- include/asm-arm/bitops.h | 2 +- include/asm-mips/mipsregs.h | 2 +- include/asm-mips64/mipsregs.h | 2 +- net/sunrpc/auth_unix.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/alpha/kernel/traps.c b/arch/alpha/kernel/traps.c index 9803b8ca0670b..4cfbd4e277866 100644 --- a/arch/alpha/kernel/traps.c +++ b/arch/alpha/kernel/traps.c @@ -411,7 +411,7 @@ do_entIF(unsigned long type, struct pt_regs *regs) } /* There is an ifdef in the PALcode in MILO that enables a - "kernel debugging entry point" as an unpriviledged call_pal. + "kernel debugging entry point" as an unprivileged call_pal. We don't want to have anything to do with it, but unfortunately several versions of MILO included in distributions have it enabled, diff --git a/arch/i386/kernel/cpu/intel.c b/arch/i386/kernel/cpu/intel.c index 99e34048350af..3bd0a2fa986ce 100644 --- a/arch/i386/kernel/cpu/intel.c +++ b/arch/i386/kernel/cpu/intel.c @@ -151,7 +151,7 @@ static void __init init_intel(struct cpuinfo_x86 *c) #ifdef CONFIG_X86_F00F_BUG /* * All current models of Pentium and Pentium with MMX technology CPUs - * have the F0 0F bug, which lets nonpriviledged users lock up the system. + * have the F0 0F bug, which lets nonprivileged users lock up the system. * Note that the workaround only should be initialized once... */ c->f00f_bug = 0; diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 43fe330744218..e2b3f7a202b68 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c @@ -5126,7 +5126,7 @@ static int airo_set_scan(struct net_device *dev, Resp rsp; /* Note : you may have realised that, as this is a SET operation, - * this is priviledged and therefore a normal user can't + * this is privileged and therefore a normal user can't * perform scanning. * This is not an error, while the device perform scanning, * traffic doesn't flow, so it's a perfect DoS... diff --git a/include/asm-arm/bitops.h b/include/asm-arm/bitops.h index 569c247bc7dc7..622bde7dbf603 100644 --- a/include/asm-arm/bitops.h +++ b/include/asm-arm/bitops.h @@ -9,7 +9,7 @@ * * Please note that the code in this file should never be included * from user space. Many of these are not implemented in assembler - * since they would be too costly. Also, they require priviledged + * since they would be too costly. Also, they require privileged * instructions (which are not available from user mode) to ensure * that they are atomic. */ diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h index d3a28b7a6bd7b..ea791fc15eb79 100644 --- a/include/asm-mips/mipsregs.h +++ b/include/asm-mips/mipsregs.h @@ -528,7 +528,7 @@ __BUILD_SET_CP0(config,CP0_CONFIG) #define CE1_SP_HINT_TO_SHARED_SC_BLOCKS 15 /* - * These flags define in which priviledge mode the counters count events + * These flags define in which privilege mode the counters count events */ #define CEB_USER 8 /* Count events in user mode, EXL = ERL = 0 */ #define CEB_SUPERVISOR 4 /* Count events in supvervisor mode EXL = ERL = 0 */ diff --git a/include/asm-mips64/mipsregs.h b/include/asm-mips64/mipsregs.h index 7be03cffab469..ecbf30176e824 100644 --- a/include/asm-mips64/mipsregs.h +++ b/include/asm-mips64/mipsregs.h @@ -310,7 +310,7 @@ __BUILD_SET_CP0(config,CP0_CONFIG) #define CE1_SP_HINT_TO_SHARED_SC_BLOCKS 15 /* - * These flags define in which priviledge mode the counters count events + * These flags define in which privilege mode the counters count events */ #define CEB_USER 8 /* Count events in user mode, EXL = ERL = 0 */ #define CEB_SUPERVISOR 4 /* Count events in supvervisor mode EXL = ERL = 0 */ diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index a5560fb1fc7f3..93f02ef4b31ac 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c @@ -163,7 +163,7 @@ unx_marshal(struct rpc_task *task, u32 *p, int ruid) memcpy(p, clnt->cl_nodename, n); p += (n + 3) >> 2; - /* Note: we don't use real uid if it involves raising priviledge */ + /* Note: we don't use real uid if it involves raising privilege */ if (ruid && cred->uc_puid != 0 && cred->uc_pgid != 0) { *p++ = htonl((u32) cred->uc_puid); *p++ = htonl((u32) cred->uc_pgid); -- 2.53.0