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
nexedi
linux
Commits
7d3c579c
Commit
7d3c579c
authored
Jan 15, 2003
by
Richard Henderson
Committed by
Richard Henderson
Jan 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Use direct calls to titan_ioremap/unmap when building
a titan specific kernel.
parent
0094874f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
arch/alpha/kernel/Makefile
arch/alpha/kernel/Makefile
+1
-1
arch/alpha/kernel/core_titan.c
arch/alpha/kernel/core_titan.c
+3
-0
include/asm-alpha/core_titan.h
include/asm-alpha/core_titan.h
+2
-2
No files found.
arch/alpha/kernel/Makefile
View file @
7d3c579c
...
...
@@ -6,7 +6,7 @@ EXTRA_TARGETS := head.o
EXTRA_AFLAGS
:=
$(CFLAGS)
export-objs
:=
alpha_ksyms.o
export-objs
:=
alpha_ksyms.o
core_titan.o
obj-y
:=
entry.o traps.o process.o init_task.o osf_sys.o irq.o
\
irq_alpha.o signal.o setup.o ptrace.o time.o semaphore.o
\
...
...
arch/alpha/kernel/core_titan.c
View file @
7d3c579c
...
...
@@ -5,6 +5,7 @@
*/
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/pci.h>
...
...
@@ -564,6 +565,8 @@ titan_iounmap(unsigned long addr)
if
(
addr
)
return
vfree
((
void
*
)(
PAGE_MASK
&
addr
));
}
EXPORT_SYMBOL
(
titan_ioremap
);
EXPORT_SYMBOL
(
titan_iounmap
);
/*
* AGP GART Support
...
...
include/asm-alpha/core_titan.h
View file @
7d3c579c
...
...
@@ -499,8 +499,8 @@ __EXTERN_INLINE void titan_writeq(u64 b, unsigned long addr)
#define __writew(x,a) titan_writew((x),(unsigned long)(a))
#define __writel(x,a) titan_writel((x),(unsigned long)(a))
#define __writeq(x,a) titan_writeq((x),(unsigned long)(a))
#define __ioremap(a,s)
alpha_mv.mv
_ioremap((unsigned long)(a),(s))
#define __iounmap(a)
alpha_mv.mv
_iounmap((unsigned long)(a))
#define __ioremap(a,s)
titan
_ioremap((unsigned long)(a),(s))
#define __iounmap(a)
titan
_iounmap((unsigned long)(a))
#define __is_ioaddr(a) titan_is_ioaddr((unsigned long)(a))
#define inb(port) __inb((port))
...
...
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