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
47c29752
Commit
47c29752
authored
May 05, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git
parents
fd4e5f29
7cc1712b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
18 deletions
+4
-18
arch/sparc/kernel/process.c
arch/sparc/kernel/process.c
+0
-5
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+0
-4
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
+1
-1
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+1
-1
include/asm-sparc64/pgalloc.h
include/asm-sparc64/pgalloc.h
+2
-7
No files found.
arch/sparc/kernel/process.c
View file @
47c29752
...
@@ -83,9 +83,6 @@ void default_idle(void)
...
@@ -83,9 +83,6 @@ void default_idle(void)
*/
*/
void
cpu_idle
(
void
)
void
cpu_idle
(
void
)
{
{
if
(
current
->
pid
!=
0
)
goto
out
;
/* endless idle loop with no priority at all */
/* endless idle loop with no priority at all */
for
(;;)
{
for
(;;)
{
if
(
ARCH_SUN4C_SUN4
)
{
if
(
ARCH_SUN4C_SUN4
)
{
...
@@ -126,8 +123,6 @@ void cpu_idle(void)
...
@@ -126,8 +123,6 @@ void cpu_idle(void)
schedule
();
schedule
();
check_pgt_cache
();
check_pgt_cache
();
}
}
out:
return
;
}
}
#else
#else
...
...
arch/sparc64/kernel/process.c
View file @
47c29752
...
@@ -62,9 +62,6 @@ void default_idle(void)
...
@@ -62,9 +62,6 @@ void default_idle(void)
*/
*/
void
cpu_idle
(
void
)
void
cpu_idle
(
void
)
{
{
if
(
current
->
pid
!=
0
)
return
;
/* endless idle loop with no priority at all */
/* endless idle loop with no priority at all */
for
(;;)
{
for
(;;)
{
/* If current->work.need_resched is zero we should really
/* If current->work.need_resched is zero we should really
...
@@ -80,7 +77,6 @@ void cpu_idle(void)
...
@@ -80,7 +77,6 @@ void cpu_idle(void)
schedule
();
schedule
();
check_pgt_cache
();
check_pgt_cache
();
}
}
return
;
}
}
#else
#else
...
...
arch/sparc64/kernel/sparc64_ksyms.c
View file @
47c29752
...
@@ -278,7 +278,7 @@ EXPORT_SYMBOL(verify_compat_iovec);
...
@@ -278,7 +278,7 @@ EXPORT_SYMBOL(verify_compat_iovec);
EXPORT_SYMBOL
(
dump_thread
);
EXPORT_SYMBOL
(
dump_thread
);
EXPORT_SYMBOL
(
dump_fpu
);
EXPORT_SYMBOL
(
dump_fpu
);
EXPORT_SYMBOL
(
__
pte_alloc_one_kernel
);
EXPORT_SYMBOL
(
pte_alloc_one_kernel
);
#ifndef CONFIG_SMP
#ifndef CONFIG_SMP
EXPORT_SYMBOL
(
pgt_quicklists
);
EXPORT_SYMBOL
(
pgt_quicklists
);
#endif
#endif
...
...
arch/sparc64/mm/init.c
View file @
47c29752
...
@@ -1114,7 +1114,7 @@ struct pgtable_cache_struct pgt_quicklists;
...
@@ -1114,7 +1114,7 @@ struct pgtable_cache_struct pgt_quicklists;
#else
#else
#define DC_ALIAS_SHIFT 0
#define DC_ALIAS_SHIFT 0
#endif
#endif
pte_t
*
__
pte_alloc_one_kernel
(
struct
mm_struct
*
mm
,
unsigned
long
address
)
pte_t
*
pte_alloc_one_kernel
(
struct
mm_struct
*
mm
,
unsigned
long
address
)
{
{
struct
page
*
page
;
struct
page
*
page
;
unsigned
long
color
;
unsigned
long
color
;
...
...
include/asm-sparc64/pgalloc.h
View file @
47c29752
...
@@ -122,17 +122,12 @@ static __inline__ void free_pmd_slow(pmd_t *pmd)
...
@@ -122,17 +122,12 @@ static __inline__ void free_pmd_slow(pmd_t *pmd)
#define pmd_populate(MM,PMD,PTE_PAGE) \
#define pmd_populate(MM,PMD,PTE_PAGE) \
pmd_populate_kernel(MM,PMD,page_address(PTE_PAGE))
pmd_populate_kernel(MM,PMD,page_address(PTE_PAGE))
extern
pte_t
*
__pte_alloc_one_kernel
(
struct
mm_struct
*
mm
,
unsigned
long
address
);
extern
pte_t
*
pte_alloc_one_kernel
(
struct
mm_struct
*
mm
,
unsigned
long
address
);
static
inline
pte_t
*
pte_alloc_one_kernel
(
struct
mm_struct
*
mm
,
unsigned
long
address
)
{
return
__pte_alloc_one_kernel
(
mm
,
address
);
}
static
inline
struct
page
*
static
inline
struct
page
*
pte_alloc_one
(
struct
mm_struct
*
mm
,
unsigned
long
addr
)
pte_alloc_one
(
struct
mm_struct
*
mm
,
unsigned
long
addr
)
{
{
pte_t
*
pte
=
__
pte_alloc_one_kernel
(
mm
,
addr
);
pte_t
*
pte
=
pte_alloc_one_kernel
(
mm
,
addr
);
if
(
pte
)
if
(
pte
)
return
virt_to_page
(
pte
);
return
virt_to_page
(
pte
);
...
...
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