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
f8bec75a
Commit
f8bec75a
authored
Mar 29, 2011
by
Catalin Marinas
Committed by
Ralf Baechle
May 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Rename .data..mostly and properly handle it in linker script
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
866d7f56
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
arch/mips/include/asm/cache.h
arch/mips/include/asm/cache.h
+1
-1
arch/mips/kernel/vmlinux.lds.S
arch/mips/kernel/vmlinux.lds.S
+1
-0
No files found.
arch/mips/include/asm/cache.h
View file @
f8bec75a
...
...
@@ -17,6 +17,6 @@
#define SMP_CACHE_SHIFT L1_CACHE_SHIFT
#define SMP_CACHE_BYTES L1_CACHE_BYTES
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data.
.
read_mostly")))
#endif
/* _ASM_CACHE_H */
arch/mips/kernel/vmlinux.lds.S
View file @
f8bec75a
...
...
@@ -74,6 +74,7 @@ SECTIONS
INIT_TASK_DATA
(
PAGE_SIZE
)
NOSAVE_DATA
CACHELINE_ALIGNED_DATA
(1
<<
CONFIG_MIPS_L1_CACHE_SHIFT
)
READ_MOSTLY_DATA
(1
<<
CONFIG_MIPS_L1_CACHE_SHIFT
)
DATA_DATA
CONSTRUCTORS
}
...
...
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