Skip to content

Commit fc52052

Browse files
gushengxianmattst88
authored andcommitted
alpha: fix spelling mistakes
Fix some spelling mistakes in comments: delarations ==> declarations softare ==> software suffiently ==> sufficiently requred ==> required unaliged ==> unaligned Signed-off-by: gushengxian <[email protected]> Signed-off-by: Matt Turner <[email protected]>
1 parent 3e0c6d1 commit fc52052

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

arch/alpha/boot/misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern long srm_printk(const char *, ...)
3030
__attribute__ ((format (printf, 1, 2)));
3131

3232
/*
33-
* gzip delarations
33+
* gzip declarations
3434
*/
3535
#define OF(args) args
3636
#define STATIC static

arch/alpha/kernel/osf_sys.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
834834
return -EFAULT;
835835
state = &current_thread_info()->ieee_state;
836836

837-
/* Update softare trap enable bits. */
837+
/* Update software trap enable bits. */
838838
*state = (*state & ~IEEE_SW_MASK) | (swcr & IEEE_SW_MASK);
839839

840840
/* Update the real fpcr. */
@@ -854,7 +854,7 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
854854
state = &current_thread_info()->ieee_state;
855855
exc &= IEEE_STATUS_MASK;
856856

857-
/* Update softare trap enable bits. */
857+
/* Update software trap enable bits. */
858858
swcr = (*state & IEEE_SW_MASK) | exc;
859859
*state |= exc;
860860

arch/alpha/kernel/perf_event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ static void alpha_pmu_start(struct perf_event *event, int flags)
574574
* Check that CPU performance counters are supported.
575575
* - currently support EV67 and later CPUs.
576576
* - actually some later revisions of the EV6 have the same PMC model as the
577-
* EV67 but we don't do suffiently deep CPU detection to detect them.
577+
* EV67 but we don't do sufficiently deep CPU detection to detect them.
578578
* Bad luck to the very few people who might have one, I guess.
579579
*/
580580
static int supported_cpu(void)

arch/alpha/kernel/sys_nautilus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ nautilus_init_pci(void)
212212

213213
/* Use default IO. */
214214
pci_add_resource(&bridge->windows, &ioport_resource);
215-
/* Irongate PCI memory aperture, calculate requred size before
215+
/* Irongate PCI memory aperture, calculate required size before
216216
setting it up. */
217217
pci_add_resource(&bridge->windows, &irongate_mem);
218218

arch/alpha/kernel/traps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ do_entUnaUser(void __user * va, unsigned long opcode,
730730
long error;
731731

732732
/* Check the UAC bits to decide what the user wants us to do
733-
with the unaliged access. */
733+
with the unaligned access. */
734734

735735
if (!(current_thread_info()->status & TS_UAC_NOPRINT)) {
736736
if (__ratelimit(&ratelimit)) {

0 commit comments

Comments
 (0)