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
cca5613f
Commit
cca5613f
authored
Feb 22, 2010
by
Michal Simek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze: Remove VMALLOC_VMADDR
Signed-off-by:
Michal Simek
<
monstr@monstr.eu
>
parent
22607a28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
arch/microblaze/include/asm/pgtable.h
arch/microblaze/include/asm/pgtable.h
+0
-1
arch/microblaze/mm/pgtable.c
arch/microblaze/mm/pgtable.c
+1
-1
No files found.
arch/microblaze/include/asm/pgtable.h
View file @
cca5613f
...
@@ -85,7 +85,6 @@ static inline pte_t pte_mkspecial(pte_t pte) { return pte; }
...
@@ -85,7 +85,6 @@ static inline pte_t pte_mkspecial(pte_t pte) { return pte; }
#define VMALLOC_START (CONFIG_KERNEL_START + \
#define VMALLOC_START (CONFIG_KERNEL_START + \
max(32 * 1024 * 1024UL, memory_size))
max(32 * 1024 * 1024UL, memory_size))
#define VMALLOC_END ioremap_bot
#define VMALLOC_END ioremap_bot
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
...
...
arch/microblaze/mm/pgtable.c
View file @
cca5613f
...
@@ -103,7 +103,7 @@ static void __iomem *__ioremap(phys_addr_t addr, unsigned long size,
...
@@ -103,7 +103,7 @@ static void __iomem *__ioremap(phys_addr_t addr, unsigned long size,
area
=
get_vm_area
(
size
,
VM_IOREMAP
);
area
=
get_vm_area
(
size
,
VM_IOREMAP
);
if
(
area
==
NULL
)
if
(
area
==
NULL
)
return
NULL
;
return
NULL
;
v
=
VMALLOC_VMADDR
(
area
->
addr
)
;
v
=
(
unsigned
long
)
area
->
addr
;
}
else
{
}
else
{
v
=
(
ioremap_bot
-=
size
);
v
=
(
ioremap_bot
-=
size
);
}
}
...
...
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