Skip to content

Commit 4d5be09

Browse files
Automatic merge of 'next' into merge (2025-09-06 15:30)
2 parents 0c95b0c + 46104a7 commit 4d5be09

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+259
-262
lines changed

arch/powerpc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_PPC64)$(CONFIG_LD_IS_BFD),yy)
5858
# There is a corresponding test in arch/powerpc/lib/Makefile
5959
KBUILD_LDFLAGS_MODULE += --save-restore-funcs
6060
else
61-
KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
61+
KBUILD_LDFLAGS_MODULE += $(objtree)/arch/powerpc/lib/crtsavres.o
6262
endif
6363

6464
ifdef CONFIG_CPU_LITTLE_ENDIAN

arch/powerpc/boot/page.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Copyright (C) 2001 PPC64 Team, IBM Corp
66
*/
77

8-
#ifdef __ASSEMBLY__
8+
#ifdef __ASSEMBLER__
99
#define ASM_CONST(x) x
1010
#else
1111
#define __ASM_CONST(x) x##UL

arch/powerpc/include/asm/asm-const.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _ASM_POWERPC_ASM_CONST_H
22
#define _ASM_POWERPC_ASM_CONST_H
33

4-
#ifdef __ASSEMBLY__
4+
#ifdef __ASSEMBLER__
55
# define stringify_in_c(...) __VA_ARGS__
66
# define ASM_CONST(x) x
77
#else

arch/powerpc/include/asm/barrier.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include <asm/asm-const.h>
99

10-
#ifndef __ASSEMBLY__
10+
#ifndef __ASSEMBLER__
1111
#include <asm/ppc-opcode.h>
1212
#endif
1313

arch/powerpc/include/asm/book3s/32/kup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <asm/mmu.h>
88
#include <asm/synch.h>
99

10-
#ifndef __ASSEMBLY__
10+
#ifndef __ASSEMBLER__
1111

1212
#ifdef CONFIG_PPC_KUAP
1313

@@ -170,6 +170,6 @@ __bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write)
170170

171171
#endif /* CONFIG_PPC_KUAP */
172172

173-
#endif /* __ASSEMBLY__ */
173+
#endif /* __ASSEMBLER__ */
174174

175175
#endif /* _ASM_POWERPC_BOOK3S_32_KUP_H */

arch/powerpc/include/asm/book3s/32/mmu-hash.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define BPP_RX 0x01 /* Read only */
3030
#define BPP_RW 0x02 /* Read/write */
3131

32-
#ifndef __ASSEMBLY__
32+
#ifndef __ASSEMBLER__
3333
/* Contort a phys_addr_t into the right format/bits for a BAT */
3434
#ifdef CONFIG_PHYS_64BIT
3535
#define BAT_PHYS_ADDR(x) ((u32)((x & 0x00000000fffe0000ULL) | \
@@ -47,7 +47,7 @@ struct ppc_bat {
4747
u32 batu;
4848
u32 batl;
4949
};
50-
#endif /* !__ASSEMBLY__ */
50+
#endif /* !__ASSEMBLER__ */
5151

5252
/*
5353
* Hash table
@@ -64,7 +64,7 @@ struct ppc_bat {
6464
#define SR_KP 0x20000000 /* User key */
6565
#define SR_KS 0x40000000 /* Supervisor key */
6666

67-
#ifdef __ASSEMBLY__
67+
#ifdef __ASSEMBLER__
6868

6969
#include <asm/asm-offsets.h>
7070

@@ -225,7 +225,7 @@ static __always_inline void update_user_segments(u32 val)
225225

226226
int __init find_free_bat(void);
227227
unsigned int bat_block_size(unsigned long base, unsigned long top);
228-
#endif /* !__ASSEMBLY__ */
228+
#endif /* !__ASSEMBLER__ */
229229

230230
/* We happily ignore the smaller BATs on 601, we don't actually use
231231
* those definitions on hash32 at the moment anyway

arch/powerpc/include/asm/book3s/32/pgtable.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@
102102
#define PMD_CACHE_INDEX PMD_INDEX_SIZE
103103
#define PUD_CACHE_INDEX PUD_INDEX_SIZE
104104

105-
#ifndef __ASSEMBLY__
105+
#ifndef __ASSEMBLER__
106106
#define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE)
107107
#define PMD_TABLE_SIZE 0
108108
#define PUD_TABLE_SIZE 0
109109
#define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE)
110110

111111
/* Bits to mask out from a PMD to get to the PTE page */
112112
#define PMD_MASKED_BITS (PTE_TABLE_SIZE - 1)
113-
#endif /* __ASSEMBLY__ */
113+
#endif /* __ASSEMBLER__ */
114114

115115
#define PTRS_PER_PTE (1 << PTE_INDEX_SIZE)
116116
#define PTRS_PER_PGD (1 << PGD_INDEX_SIZE)
@@ -132,12 +132,12 @@
132132

133133
#define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
134134

135-
#ifndef __ASSEMBLY__
135+
#ifndef __ASSEMBLER__
136136

137137
int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
138138
void unmap_kernel_page(unsigned long va);
139139

140-
#endif /* !__ASSEMBLY__ */
140+
#endif /* !__ASSEMBLER__ */
141141

142142
/*
143143
* This is the bottom of the PKMAP area with HIGHMEM or an arbitrary
@@ -199,7 +199,7 @@ void unmap_kernel_page(unsigned long va);
199199
#define MODULES_SIZE (CONFIG_MODULES_SIZE * SZ_1M)
200200
#define MODULES_VADDR (MODULES_END - MODULES_SIZE)
201201

202-
#ifndef __ASSEMBLY__
202+
#ifndef __ASSEMBLER__
203203
#include <linux/sched.h>
204204
#include <linux/threads.h>
205205

@@ -602,6 +602,6 @@ static inline pgprot_t pgprot_writecombine(pgprot_t prot)
602602
return pgprot_noncached_wc(prot);
603603
}
604604

605-
#endif /* !__ASSEMBLY__ */
605+
#endif /* !__ASSEMBLER__ */
606606

607607
#endif /* _ASM_POWERPC_BOOK3S_32_PGTABLE_H */

arch/powerpc/include/asm/book3s/64/hash-4k.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
#define H_KERN_VIRT_START ASM_CONST(0xc0003d0000000000)
3434

35-
#ifndef __ASSEMBLY__
35+
#ifndef __ASSEMBLER__
3636
#define H_PTE_TABLE_SIZE (sizeof(pte_t) << H_PTE_INDEX_SIZE)
3737
#define H_PMD_TABLE_SIZE (sizeof(pmd_t) << H_PMD_INDEX_SIZE)
3838
#define H_PUD_TABLE_SIZE (sizeof(pud_t) << H_PUD_INDEX_SIZE)
@@ -168,6 +168,6 @@ extern pmd_t hash__pmdp_huge_get_and_clear(struct mm_struct *mm,
168168
extern int hash__has_transparent_hugepage(void);
169169
#endif
170170

171-
#endif /* !__ASSEMBLY__ */
171+
#endif /* !__ASSEMBLER__ */
172172

173173
#endif /* _ASM_POWERPC_BOOK3S_64_HASH_4K_H */

arch/powerpc/include/asm/book3s/64/hash-64k.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
#endif
8080
#define H_PMD_FRAG_NR (PAGE_SIZE >> H_PMD_FRAG_SIZE_SHIFT)
8181

82-
#ifndef __ASSEMBLY__
82+
#ifndef __ASSEMBLER__
8383
#include <asm/errno.h>
8484

8585
/*
@@ -281,6 +281,6 @@ extern pmd_t hash__pmdp_huge_get_and_clear(struct mm_struct *mm,
281281
extern int hash__has_transparent_hugepage(void);
282282
#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
283283

284-
#endif /* __ASSEMBLY__ */
284+
#endif /* __ASSEMBLER__ */
285285

286286
#endif /* _ASM_POWERPC_BOOK3S_64_HASH_64K_H */

arch/powerpc/include/asm/book3s/64/hash.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
#define H_PMD_BAD_BITS (PTE_TABLE_SIZE-1)
113113
#define H_PUD_BAD_BITS (PMD_TABLE_SIZE-1)
114114

115-
#ifndef __ASSEMBLY__
115+
#ifndef __ASSEMBLER__
116116
static inline int get_region_id(unsigned long ea)
117117
{
118118
int region_id;
@@ -295,6 +295,6 @@ int hash__create_section_mapping(unsigned long start, unsigned long end,
295295
int nid, pgprot_t prot);
296296
int hash__remove_section_mapping(unsigned long start, unsigned long end);
297297

298-
#endif /* !__ASSEMBLY__ */
298+
#endif /* !__ASSEMBLER__ */
299299
#endif /* __KERNEL__ */
300300
#endif /* _ASM_POWERPC_BOOK3S_64_HASH_H */

0 commit comments

Comments
 (0)