Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
571e0bed
Commit
571e0bed
authored
Dec 08, 2005
by
Ralf Baechle
Committed by
Jan 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: MT: Fix 32-bit dependencies.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
b2d28b7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/mips/kernel/vpe.c
arch/mips/kernel/vpe.c
+4
-4
No files found.
arch/mips/kernel/vpe.c
View file @
571e0bed
...
...
@@ -99,9 +99,9 @@ struct vpe {
/* elfloader stuff */
void
*
load_addr
;
u
32
len
;
u
nsigned
long
len
;
char
*
pbuffer
;
u
32
plen
;
u
nsigned
long
plen
;
unsigned
long
__start
;
...
...
@@ -253,11 +253,11 @@ void dump_mtregs(void)
}
/* Find some VPE program space */
static
void
*
alloc_progmem
(
u
32
len
)
static
void
*
alloc_progmem
(
u
nsigned
long
len
)
{
#ifdef CONFIG_MIPS_VPE_LOADER_TOM
/* this means you must tell linux to use less memory than you physically have */
return
(
void
*
)((
max_pfn
*
PAGE_SIZE
)
+
KSEG0
);
return
pfn_to_kaddr
(
max_pfn
);
#else
// simple grab some mem for now
return
kmalloc
(
len
,
GFP_KERNEL
);
...
...
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