Skip to content

Commit 244cce1

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha
Pull alpha fixes from Matt Turner: "A few changes for alpha, including a build fix, a fix for the Eiger platform, and a fix for a tricky bug uncovered by the strace test suite that has existed since at least 1997 (v2.1.32)!" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha: alpha: fix page fault handling for r16-r18 targets alpha: Fix Eiger NR_IRQS to 128 tools uapi: fix Alpha support
2 parents 1413d9a + 491af60 commit 244cce1

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

arch/alpha/include/asm/irq.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656

5757
#elif defined(CONFIG_ALPHA_DP264) || \
5858
defined(CONFIG_ALPHA_LYNX) || \
59-
defined(CONFIG_ALPHA_SHARK) || \
60-
defined(CONFIG_ALPHA_EIGER)
59+
defined(CONFIG_ALPHA_SHARK)
6160
# define NR_IRQS 64
6261

6362
#elif defined(CONFIG_ALPHA_TITAN)
6463
#define NR_IRQS 80
6564

6665
#elif defined(CONFIG_ALPHA_RAWHIDE) || \
67-
defined(CONFIG_ALPHA_TAKARA)
66+
defined(CONFIG_ALPHA_TAKARA) || \
67+
defined(CONFIG_ALPHA_EIGER)
6868
# define NR_IRQS 128
6969

7070
#elif defined(CONFIG_ALPHA_WILDFIRE)

arch/alpha/mm/fault.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ __load_new_mm_context(struct mm_struct *next_mm)
7878
/* Macro for exception fixup code to access integer registers. */
7979
#define dpf_reg(r) \
8080
(((unsigned long *)regs)[(r) <= 8 ? (r) : (r) <= 15 ? (r)-16 : \
81-
(r) <= 18 ? (r)+8 : (r)-10])
81+
(r) <= 18 ? (r)+10 : (r)-10])
8282

8383
asmlinkage void
8484
do_page_fault(unsigned long address, unsigned long mmcsr,

tools/include/uapi/asm/bitsperlong.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include "../../arch/ia64/include/uapi/asm/bitsperlong.h"
1616
#elif defined(__riscv)
1717
#include "../../arch/riscv/include/uapi/asm/bitsperlong.h"
18+
#elif defined(__alpha__)
19+
#include "../../arch/alpha/include/uapi/asm/bitsperlong.h"
1820
#else
1921
#include <asm-generic/bitsperlong.h>
2022
#endif

0 commit comments

Comments
 (0)