Skip to content

Commit cade08a

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha
Pull alpha updates from Matt Turner: "They're mostly small janitorial fixes but there's also more important ones: - drop the alpha-specific x86 binary loader (David Hildenbrand) - regression fix for at least Marvel platforms (Mike Rapoport) - fix for a scary-looking typo (Zheng Yongjun)" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha: alpha: register early reserved memory in memblock alpha: fix spelling mistakes alpha: Remove space between * and parameter name alpha: fp_emul: avoid init/cleanup_module names alpha: Add syscall_get_return_value() binfmt: remove support for em86 (alpha only) alpha: fix typos in a comment alpha: defconfig: add necessary configs for boot testing alpha: Send stop IPI to send to online CPUs alpha: convert comma to semicolon alpha: remove undef inline in compiler.h alpha: Kconfig: Replace HTTP links with HTTPS ones alpha: __udiv_qrnnd should be exported
2 parents 7e96bf4 + 640b7ea commit cade08a

File tree

18 files changed

+31
-156
lines changed

18 files changed

+31
-156
lines changed

arch/alpha/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ config SMP
532532
will run faster if you say N here.
533533

534534
See also the SMP-HOWTO available at
535-
<http://www.tldp.org/docs.html#howto>.
535+
<https://www.tldp.org/docs.html#howto>.
536536

537537
If you don't know what to do here, say N.
538538

arch/alpha/boot/bootp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "ksize.h"
2424

2525
extern unsigned long switch_to_osf_pal(unsigned long nr,
26-
struct pcb_struct * pcb_va, struct pcb_struct * pcb_pa,
26+
struct pcb_struct *pcb_va, struct pcb_struct *pcb_pa,
2727
unsigned long *vptb);
2828

2929
extern void move_stack(unsigned long new_stack);

arch/alpha/boot/bootpz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ extern char _end;
200200
START_ADDR KSEG address of the entry point of kernel code.
201201
202202
ZERO_PGE KSEG address of page full of zeroes, but
203-
upon entry to kerne cvan be expected
203+
upon entry to kernel, it can be expected
204204
to hold the parameter list and possible
205205
INTRD information.
206206

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/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ CONFIG_DEBUG_INFO=y
7070
CONFIG_ALPHA_LEGACY_START_ADDRESS=y
7171
CONFIG_MATHEMU=y
7272
CONFIG_CRYPTO_HMAC=y
73+
CONFIG_DEVTMPFS=y

arch/alpha/include/asm/compiler.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,4 @@
44

55
#include <uapi/asm/compiler.h>
66

7-
/* Some idiots over in <linux/compiler.h> thought inline should imply
8-
always_inline. This breaks stuff. We'll include this file whenever
9-
we run into such problems. */
10-
11-
#include <linux/compiler.h>
12-
#undef inline
13-
#undef __inline__
14-
#undef __inline
15-
#undef __always_inline
16-
#define __always_inline inline __attribute__((always_inline))
17-
187
#endif /* __ALPHA_COMPILER_H */

arch/alpha/include/asm/syscall.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ static inline int syscall_get_arch(struct task_struct *task)
99
return AUDIT_ARCH_ALPHA;
1010
}
1111

12+
static inline long syscall_get_return_value(struct task_struct *task,
13+
struct pt_regs *regs)
14+
{
15+
return regs->r0;
16+
}
17+
1218
#endif /* _ASM_ALPHA_SYSCALL_H */

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/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
256256
childstack->r26 = (unsigned long) ret_from_kernel_thread;
257257
childstack->r9 = usp; /* function */
258258
childstack->r10 = kthread_arg;
259-
childregs->hae = alpha_mv.hae_cache,
259+
childregs->hae = alpha_mv.hae_cache;
260260
childti->pcb.usp = 0;
261261
return 0;
262262
}

0 commit comments

Comments
 (0)