Skip to content

Commit 25cbda4

Browse files
committed
Merge branch 'akpm' (patches from Andrew)
Merge fixes from Andrew Morton: "6 patches. Subsystems affected by this patch series: mm/pagemap, scripts, MAINTAINERS, and h8300" * emailed patches from Andrew Morton <[email protected]>: h8300: fix PREEMPTION build, TI_PRE_COUNT undefined MAINTAINERS: add Andrey Konovalov to KASAN reviewers MAINTAINERS: update Andrey Konovalov's email address MAINTAINERS: update KASAN file list scripts/recordmcount.pl: support big endian for ARCH sh m68k: make __pfn_to_phys() and __phys_to_pfn() available for !MMU
2 parents 8cc8e6a + ade9679 commit 25cbda4

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

MAINTAINERS

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9561,14 +9561,16 @@ F: drivers/hwmon/k8temp.c
95619561
KASAN
95629562
M: Andrey Ryabinin <[email protected]>
95639563
R: Alexander Potapenko <[email protected]>
9564+
R: Andrey Konovalov <[email protected]>
95649565
R: Dmitry Vyukov <[email protected]>
95659566
95669567
S: Maintained
95679568
F: Documentation/dev-tools/kasan.rst
9568-
F: arch/*/include/asm/kasan.h
9569+
F: arch/*/include/asm/*kasan.h
95699570
F: arch/*/mm/kasan_init*
95709571
F: include/linux/kasan*.h
9571-
F: lib/test_kasan.c
9572+
F: lib/Kconfig.kasan
9573+
F: lib/test_kasan*.c
95729574
F: mm/kasan/
95739575
F: scripts/Makefile.kasan
95749576

@@ -9583,7 +9585,7 @@ F: scripts/kconfig/
95839585

95849586
KCOV
95859587
R: Dmitry Vyukov <[email protected]>
9586-
R: Andrey Konovalov <andreyknvl@google.com>
9588+
R: Andrey Konovalov <andreyknvl@gmail.com>
95879589
95889590
S: Maintained
95899591
F: Documentation/dev-tools/kcov.rst

arch/h8300/kernel/asm-offsets.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ int main(void)
6363
OFFSET(TI_FLAGS, thread_info, flags);
6464
OFFSET(TI_CPU, thread_info, cpu);
6565
OFFSET(TI_PRE, thread_info, preempt_count);
66+
#ifdef CONFIG_PREEMPTION
67+
DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count));
68+
#endif
6669

6770
return 0;
6871
}

arch/m68k/include/asm/page.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extern unsigned long _ramend;
6262
#include <asm/page_no.h>
6363
#endif
6464

65-
#ifdef CONFIG_DISCONTIGMEM
65+
#if !defined(CONFIG_MMU) || defined(CONFIG_DISCONTIGMEM)
6666
#define __phys_to_pfn(paddr) ((unsigned long)((paddr) >> PAGE_SHIFT))
6767
#define __pfn_to_phys(pfn) PFN_PHYS(pfn)
6868
#endif

scripts/recordmcount.pl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,11 @@ sub check_objcopy
265265

266266
# force flags for this arch
267267
$ld .= " -m shlelf_linux";
268-
$objcopy .= " -O elf32-sh-linux";
268+
if ($endian eq "big") {
269+
$objcopy .= " -O elf32-shbig-linux";
270+
} else {
271+
$objcopy .= " -O elf32-sh-linux";
272+
}
269273

270274
} elsif ($arch eq "powerpc") {
271275
my $ldemulation;

0 commit comments

Comments
 (0)