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
f06d0bf1
Commit
f06d0bf1
authored
Nov 02, 2002
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Nov 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k misc compile fixes
Misc compile fixes for m68k: - missing and superfluous casts - unused code
parent
406b7302
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
arch/m68k/mm/sun3mmu.c
arch/m68k/mm/sun3mmu.c
+2
-2
arch/m68k/sun3/mmu_emu.c
arch/m68k/sun3/mmu_emu.c
+2
-1
arch/m68k/sun3x/time.c
arch/m68k/sun3x/time.c
+2
-0
No files found.
arch/m68k/mm/sun3mmu.c
View file @
f06d0bf1
...
...
@@ -59,8 +59,8 @@ void __init paging_init(void)
#ifdef TEST_VERIFY_AREA
wp_works_ok
=
0
;
#endif
empty_zero_page
=
(
unsigned
long
)
alloc_bootmem_pages
(
PAGE_SIZE
);
memset
(
(
void
*
)
empty_zero_page
,
0
,
PAGE_SIZE
);
empty_zero_page
=
alloc_bootmem_pages
(
PAGE_SIZE
);
memset
(
empty_zero_page
,
0
,
PAGE_SIZE
);
address
=
PAGE_OFFSET
;
pg_dir
=
swapper_pg_dir
;
...
...
arch/m68k/sun3/mmu_emu.c
View file @
f06d0bf1
...
...
@@ -52,7 +52,8 @@ unsigned char pmeg_ctx[PMEGS_NUM];
/* pointers to the mm structs for each task in each
context. 0xffffffff is a marker for kernel context */
struct
mm_struct
*
ctx_alloc
[
CONTEXTS_NUM
]
=
{
0xffffffff
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
struct
mm_struct
*
ctx_alloc
[
CONTEXTS_NUM
]
=
{(
struct
mm_struct
*
)
0xffffffff
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
/* has this context been mmdrop'd? */
static
unsigned
char
ctx_avail
=
CONTEXTS_NUM
-
1
;
...
...
arch/m68k/sun3x/time.c
View file @
f06d0bf1
...
...
@@ -79,6 +79,7 @@ unsigned long sun3x_gettimeoffset (void)
return
0L
;
}
#if 0
static void sun3x_timer_tick(int irq, void *dev_id, struct pt_regs *regs)
{
void (*vector)(int, void *, struct pt_regs *) = dev_id;
...
...
@@ -89,6 +90,7 @@ static void sun3x_timer_tick(int irq, void *dev_id, struct pt_regs *regs)
vector(irq, NULL, regs);
}
#endif
void
__init
sun3x_sched_init
(
void
(
*
vector
)(
int
,
void
*
,
struct
pt_regs
*
))
{
...
...
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