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
6bd25e78
Commit
6bd25e78
authored
Feb 20, 2006
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
parents
35e622a6
496b7a51
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
108 additions
and
246 deletions
+108
-246
arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/head_64.S
+1
-3
arch/powerpc/kernel/lparcfg.c
arch/powerpc/kernel/lparcfg.c
+4
-2
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/ppc_ksyms.c
+0
-16
arch/powerpc/kernel/setup_64.c
arch/powerpc/kernel/setup_64.c
+2
-2
arch/powerpc/kernel/sys_ppc32.c
arch/powerpc/kernel/sys_ppc32.c
+0
-4
arch/powerpc/kernel/time.c
arch/powerpc/kernel/time.c
+99
-183
arch/powerpc/platforms/pseries/smp.c
arch/powerpc/platforms/pseries/smp.c
+1
-1
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/kernel/ppc_ksyms.c
+0
-8
arch/ppc/xmon/start.c
arch/ppc/xmon/start.c
+1
-14
include/asm-ppc/machdep.h
include/asm-ppc/machdep.h
+0
-13
No files found.
arch/powerpc/kernel/head_64.S
View file @
6bd25e78
...
...
@@ -157,8 +157,7 @@ _GLOBAL(__secondary_hold)
SET_REG_IMMEDIATE
(
r4
,
.
hmt_init
)
mtctr
r4
bctr
#else
#ifdef CONFIG_SMP
#elif defined(CONFIG_SMP) || defined(CONFIG_KEXEC)
LOAD_REG_IMMEDIATE
(
r4
,
.
pSeries_secondary_smp_init
)
mtctr
r4
mr
r3
,
r24
...
...
@@ -166,7 +165,6 @@ _GLOBAL(__secondary_hold)
#else
BUG_OPCODE
#endif
#endif
/*
This
value
is
used
to
mark
exception
frames
on
the
stack
.
*/
.
section
".toc"
,
"aw"
...
...
arch/powerpc/kernel/lparcfg.c
View file @
6bd25e78
...
...
@@ -341,7 +341,7 @@ static int lparcfg_data(struct seq_file *m, void *v)
const
char
*
system_id
=
""
;
unsigned
int
*
lp_index_ptr
,
lp_index
=
0
;
struct
device_node
*
rtas_node
;
int
*
lrdrp
;
int
*
lrdrp
=
NULL
;
rootdn
=
find_path_device
(
"/"
);
if
(
rootdn
)
{
...
...
@@ -362,7 +362,9 @@ static int lparcfg_data(struct seq_file *m, void *v)
seq_printf
(
m
,
"partition_id=%d
\n
"
,
(
int
)
lp_index
);
rtas_node
=
find_path_device
(
"/rtas"
);
lrdrp
=
(
int
*
)
get_property
(
rtas_node
,
"ibm,lrdr-capacity"
,
NULL
);
if
(
rtas_node
)
lrdrp
=
(
int
*
)
get_property
(
rtas_node
,
"ibm,lrdr-capacity"
,
NULL
);
if
(
lrdrp
==
NULL
)
{
partition_potential_processors
=
vdso_data
->
processorCount
;
...
...
arch/powerpc/kernel/ppc_ksyms.c
View file @
6bd25e78
...
...
@@ -79,15 +79,8 @@ EXPORT_SYMBOL(sys_sigreturn);
EXPORT_SYMBOL
(
strcpy
);
EXPORT_SYMBOL
(
strncpy
);
EXPORT_SYMBOL
(
strcat
);
EXPORT_SYMBOL
(
strncat
);
EXPORT_SYMBOL
(
strchr
);
EXPORT_SYMBOL
(
strrchr
);
EXPORT_SYMBOL
(
strpbrk
);
EXPORT_SYMBOL
(
strstr
);
EXPORT_SYMBOL
(
strlen
);
EXPORT_SYMBOL
(
strnlen
);
EXPORT_SYMBOL
(
strcmp
);
EXPORT_SYMBOL
(
strncmp
);
EXPORT_SYMBOL
(
strcasecmp
);
EXPORT_SYMBOL
(
csum_partial
);
...
...
@@ -185,9 +178,6 @@ EXPORT_SYMBOL(adb_try_handler_change);
EXPORT_SYMBOL
(
cuda_request
);
EXPORT_SYMBOL
(
cuda_poll
);
#endif
/* CONFIG_ADB_CUDA */
#ifdef CONFIG_PPC_PMAC
EXPORT_SYMBOL
(
sys_ctrler
);
#endif
#ifdef CONFIG_VT
EXPORT_SYMBOL
(
kd_mksound
);
#endif
...
...
@@ -205,7 +195,6 @@ EXPORT_SYMBOL(__lshrdi3);
EXPORT_SYMBOL
(
memcpy
);
EXPORT_SYMBOL
(
memset
);
EXPORT_SYMBOL
(
memmove
);
EXPORT_SYMBOL
(
memscan
);
EXPORT_SYMBOL
(
memcmp
);
EXPORT_SYMBOL
(
memchr
);
...
...
@@ -214,7 +203,6 @@ EXPORT_SYMBOL(screen_info);
#endif
#ifdef CONFIG_PPC32
EXPORT_SYMBOL
(
__delay
);
EXPORT_SYMBOL
(
timer_interrupt
);
EXPORT_SYMBOL
(
irq_desc
);
EXPORT_SYMBOL
(
tb_ticks_per_jiffy
);
...
...
@@ -222,10 +210,6 @@ EXPORT_SYMBOL(console_drivers);
EXPORT_SYMBOL
(
cacheable_memcpy
);
#endif
EXPORT_SYMBOL
(
__up
);
EXPORT_SYMBOL
(
__down
);
EXPORT_SYMBOL
(
__down_interruptible
);
#ifdef CONFIG_8xx
EXPORT_SYMBOL
(
cpm_install_handler
);
EXPORT_SYMBOL
(
cpm_free_handler
);
...
...
arch/powerpc/kernel/setup_64.c
View file @
6bd25e78
...
...
@@ -311,8 +311,6 @@ void smp_release_cpus(void)
DBG
(
" <- smp_release_cpus()
\n
"
);
}
#else
#define smp_release_cpus()
#endif
/* CONFIG_SMP || CONFIG_KEXEC */
/*
...
...
@@ -473,10 +471,12 @@ void __init setup_system(void)
check_smt_enabled
();
smp_setup_cpu_maps
();
#ifdef CONFIG_SMP
/* Release secondary cpus out of their spinloops at 0x60 now that
* we can map physical -> logical CPU ids
*/
smp_release_cpus
();
#endif
printk
(
"Starting Linux PPC64 %s
\n
"
,
system_utsname
.
version
);
...
...
arch/powerpc/kernel/sys_ppc32.c
View file @
6bd25e78
...
...
@@ -176,7 +176,6 @@ struct timex32 {
};
extern
int
do_adjtimex
(
struct
timex
*
);
extern
void
ppc_adjtimex
(
void
);
asmlinkage
long
compat_sys_adjtimex
(
struct
timex32
__user
*
utp
)
{
...
...
@@ -209,9 +208,6 @@ asmlinkage long compat_sys_adjtimex(struct timex32 __user *utp)
ret
=
do_adjtimex
(
&
txc
);
/* adjust the conversion of TB to time of day to track adjtimex */
ppc_adjtimex
();
if
(
put_user
(
txc
.
modes
,
&
utp
->
modes
)
||
__put_user
(
txc
.
offset
,
&
utp
->
offset
)
||
__put_user
(
txc
.
freq
,
&
utp
->
freq
)
||
...
...
arch/powerpc/kernel/time.c
View file @
6bd25e78
This diff is collapsed.
Click to expand it.
arch/powerpc/platforms/pseries/smp.c
View file @
6bd25e78
...
...
@@ -292,7 +292,7 @@ static inline int __devinit smp_startup_cpu(unsigned int lcpu)
if
(
start_cpu
==
RTAS_UNKNOWN_SERVICE
)
return
1
;
status
=
rtas_call
(
start_cpu
,
3
,
1
,
NULL
,
pcpu
,
start_here
,
l
cpu
);
status
=
rtas_call
(
start_cpu
,
3
,
1
,
NULL
,
pcpu
,
start_here
,
p
cpu
);
if
(
status
!=
0
)
{
printk
(
KERN_ERR
"start-cpu failed: %i
\n
"
,
status
);
return
0
;
...
...
arch/ppc/kernel/ppc_ksyms.c
View file @
6bd25e78
...
...
@@ -93,15 +93,8 @@ EXPORT_SYMBOL(test_and_change_bit);
EXPORT_SYMBOL
(
strcpy
);
EXPORT_SYMBOL
(
strncpy
);
EXPORT_SYMBOL
(
strcat
);
EXPORT_SYMBOL
(
strncat
);
EXPORT_SYMBOL
(
strchr
);
EXPORT_SYMBOL
(
strrchr
);
EXPORT_SYMBOL
(
strpbrk
);
EXPORT_SYMBOL
(
strstr
);
EXPORT_SYMBOL
(
strlen
);
EXPORT_SYMBOL
(
strnlen
);
EXPORT_SYMBOL
(
strcmp
);
EXPORT_SYMBOL
(
strncmp
);
EXPORT_SYMBOL
(
strcasecmp
);
EXPORT_SYMBOL
(
__div64_32
);
...
...
@@ -253,7 +246,6 @@ EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL
(
cacheable_memcpy
);
EXPORT_SYMBOL
(
memset
);
EXPORT_SYMBOL
(
memmove
);
EXPORT_SYMBOL
(
memscan
);
EXPORT_SYMBOL
(
memcmp
);
EXPORT_SYMBOL
(
memchr
);
...
...
arch/ppc/xmon/start.c
View file @
6bd25e78
...
...
@@ -146,19 +146,6 @@ xmon_map_scc(void)
static
int
scc_initialized
=
0
;
void
xmon_init_scc
(
void
);
extern
void
cuda_poll
(
void
);
static
inline
void
do_poll_adb
(
void
)
{
#ifdef CONFIG_ADB_PMU
if
(
sys_ctrler
==
SYS_CTRLER_PMU
)
pmu_poll_adb
();
#endif
/* CONFIG_ADB_PMU */
#ifdef CONFIG_ADB_CUDA
if
(
sys_ctrler
==
SYS_CTRLER_CUDA
)
cuda_poll
();
#endif
/* CONFIG_ADB_CUDA */
}
int
xmon_write
(
void
*
handle
,
void
*
ptr
,
int
nb
)
...
...
@@ -189,7 +176,7 @@ xmon_write(void *handle, void *ptr, int nb)
ct
=
0
;
for
(
i
=
0
;
i
<
nb
;
++
i
)
{
while
((
*
sccc
&
TXRDY
)
==
0
)
do_poll_adb
()
;
;
c
=
p
[
i
];
if
(
c
==
'\n'
&&
!
ct
)
{
c
=
'\r'
;
...
...
include/asm-ppc/machdep.h
View file @
6bd25e78
...
...
@@ -154,19 +154,6 @@ extern char cmd_line[COMMAND_LINE_SIZE];
extern
void
setup_pci_ptrs
(
void
);
/*
* Power macintoshes have either a CUDA or a PMU controlling
* system reset, power, NVRAM, RTC.
*/
typedef
enum
sys_ctrler_kind
{
SYS_CTRLER_UNKNOWN
=
0
,
SYS_CTRLER_CUDA
=
1
,
SYS_CTRLER_PMU
=
2
,
SYS_CTRLER_SMU
=
3
,
}
sys_ctrler_t
;
extern
sys_ctrler_t
sys_ctrler
;
#ifdef CONFIG_SMP
struct
smp_ops_t
{
void
(
*
message_pass
)(
int
target
,
int
msg
);
...
...
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