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
Kirill Smelkov
linux
Commits
271c29a1
Commit
271c29a1
authored
May 10, 2019
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Use __ro_after_init in cache.c
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
8d0e051c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
arch/parisc/kernel/cache.c
arch/parisc/kernel/cache.c
+8
-8
No files found.
arch/parisc/kernel/cache.c
View file @
271c29a1
...
...
@@ -29,9 +29,9 @@
#include <asm/sections.h>
#include <asm/shmparam.h>
int
split_tlb
__r
ead_mostly
;
int
dcache_stride
__r
ead_mostly
;
int
icache_stride
__r
ead_mostly
;
int
split_tlb
__r
o_after_init
;
int
dcache_stride
__r
o_after_init
;
int
icache_stride
__r
o_after_init
;
EXPORT_SYMBOL
(
dcache_stride
);
void
flush_dcache_page_asm
(
unsigned
long
phys_addr
,
unsigned
long
vaddr
);
...
...
@@ -51,12 +51,12 @@ DEFINE_SPINLOCK(pa_tlb_flush_lock);
DEFINE_SPINLOCK
(
pa_swapper_pg_lock
);
#if defined(CONFIG_64BIT) && defined(CONFIG_SMP)
int
pa_serialize_tlb_flushes
__r
ead_mostly
;
int
pa_serialize_tlb_flushes
__r
o_after_init
;
#endif
struct
pdc_cache_info
cache_info
__r
ead_mostly
;
struct
pdc_cache_info
cache_info
__r
o_after_init
;
#ifndef CONFIG_PA20
static
struct
pdc_btlb_info
btlb_info
__r
ead_mostly
;
static
struct
pdc_btlb_info
btlb_info
__r
o_after_init
;
#endif
#ifdef CONFIG_SMP
...
...
@@ -381,10 +381,10 @@ EXPORT_SYMBOL(flush_data_cache_local);
EXPORT_SYMBOL
(
flush_kernel_icache_range_asm
);
#define FLUSH_THRESHOLD 0x80000
/* 0.5MB */
static
unsigned
long
parisc_cache_flush_threshold
__r
ead_mostly
=
FLUSH_THRESHOLD
;
static
unsigned
long
parisc_cache_flush_threshold
__r
o_after_init
=
FLUSH_THRESHOLD
;
#define FLUSH_TLB_THRESHOLD (16*1024)
/* 16 KiB minimum TLB threshold */
static
unsigned
long
parisc_tlb_flush_threshold
__r
ead_mostly
=
FLUSH_TLB_THRESHOLD
;
static
unsigned
long
parisc_tlb_flush_threshold
__r
o_after_init
=
FLUSH_TLB_THRESHOLD
;
void
__init
parisc_setup_cache_timing
(
void
)
{
...
...
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