Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4e617c86
Commit
4e617c86
authored
May 10, 2019
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Use __ro_after_init in init.c
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
47293774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/parisc/mm/init.c
arch/parisc/mm/init.c
+4
-4
No files found.
arch/parisc/mm/init.c
View file @
4e617c86
...
...
@@ -66,7 +66,7 @@ static struct resource pdcdata_resource = {
.
flags
=
IORESOURCE_BUSY
|
IORESOURCE_MEM
,
};
static
struct
resource
sysram_resources
[
MAX_PHYSMEM_RANGES
]
__r
ead_mostly
;
static
struct
resource
sysram_resources
[
MAX_PHYSMEM_RANGES
]
__r
o_after_init
;
/* The following array is initialized from the firmware specific
* information retrieved in kernel/inventory.c.
...
...
@@ -557,11 +557,11 @@ void mark_rodata_ro(void)
#define SET_MAP_OFFSET(x) ((void *)(((unsigned long)(x) + VM_MAP_OFFSET) \
& ~(VM_MAP_OFFSET-1)))
void
*
parisc_vmalloc_start
__r
ead_mostly
;
void
*
parisc_vmalloc_start
__r
o_after_init
;
EXPORT_SYMBOL
(
parisc_vmalloc_start
);
#ifdef CONFIG_PA11
unsigned
long
pcxl_dma_start
__r
ead_mostly
;
unsigned
long
pcxl_dma_start
__r
o_after_init
;
#endif
void
__init
mem_init
(
void
)
...
...
@@ -635,7 +635,7 @@ void __init mem_init(void)
#endif
}
unsigned
long
*
empty_zero_page
__r
ead_mostly
;
unsigned
long
*
empty_zero_page
__r
o_after_init
;
EXPORT_SYMBOL
(
empty_zero_page
);
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment