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
75078de4
Commit
75078de4
authored
May 31, 2015
by
Yoshinori Sato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h8300: Fix alignment for .data
Signed-off-by:
Yoshinori Sato
<
ysato@users.sourceforge.jp
>
parent
aca25180
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
arch/h8300/include/asm/thread_info.h
arch/h8300/include/asm/thread_info.h
+6
-8
arch/h8300/kernel/vmlinux.lds.S
arch/h8300/kernel/vmlinux.lds.S
+2
-2
No files found.
arch/h8300/include/asm/thread_info.h
View file @
75078de4
...
...
@@ -13,6 +13,12 @@
#ifdef __KERNEL__
/*
* Size of kernel stack for each process. This must be a power of 2...
*/
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE 8192
/* 2 pages */
#ifndef __ASSEMBLY__
/*
...
...
@@ -46,14 +52,6 @@ struct thread_info {
#define init_thread_info (init_thread_union.thread_info)
#define init_stack (init_thread_union.stack)
/*
* Size of kernel stack for each process. This must be a power of 2...
*/
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE 8192
/* 2 pages */
/* how to get the thread information struct from C */
static
inline
struct
thread_info
*
current_thread_info
(
void
)
{
...
...
arch/h8300/kernel/vmlinux.lds.S
View file @
75078de4
#include <asm-generic/vmlinux.lds.h>
#include <asm/page.h>
#include <asm/thread_info.h>
#define ROMTOP 0x000000
#define RAMTOP 0x400000
...
...
@@ -42,11 +43,10 @@ SECTIONS
.
=
RAMTOP
;
_ramstart
=
.
;
#define ADDR(x) ROMEND
#else
#endif
_sdata
=
.
;
__data_start
=
.
;
RW_DATA_SECTION
(0,
0,0
)
RW_DATA_SECTION
(0,
PAGE_SIZE
,
THREAD_SIZE
)
#if defined(CONFIG_ROMKERNEL)
#undef ADDR
#endif
...
...
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