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
56b3fbcb
Commit
56b3fbcb
authored
Aug 04, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux
parents
d708c140
de521514
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
arch/ppc/Kconfig
arch/ppc/Kconfig
+6
-2
arch/ppc/kernel/setup.c
arch/ppc/kernel/setup.c
+1
-0
arch/ppc/lib/string.S
arch/ppc/lib/string.S
+8
-0
No files found.
arch/ppc/Kconfig
View file @
56b3fbcb
...
@@ -472,8 +472,7 @@ config SANDPOINT
...
@@ -472,8 +472,7 @@ config SANDPOINT
bool "Motorola-Sandpoint"
bool "Motorola-Sandpoint"
help
help
Select SANDPOINT if configuring for a Motorola Sandpoint X3
Select SANDPOINT if configuring for a Motorola Sandpoint X3
or X3(b).
(any flavor).
X3 (any flavor).
config ADIR
config ADIR
bool "SBS-Adirondack"
bool "SBS-Adirondack"
...
@@ -693,6 +692,11 @@ config CPU_FREQ
...
@@ -693,6 +692,11 @@ config CPU_FREQ
If in doubt, say N.
If in doubt, say N.
config CPU_FREQ_TABLE
bool
depends on CPU_FREQ
default y
config CPU_FREQ_PROC_INTF
config CPU_FREQ_PROC_INTF
bool "/proc/cpufreq interface (DEPRECATED)"
bool "/proc/cpufreq interface (DEPRECATED)"
depends on CPU_FREQ && PROC_FS
depends on CPU_FREQ && PROC_FS
...
...
arch/ppc/kernel/setup.c
View file @
56b3fbcb
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include <linux/bootmem.h>
#include <linux/bootmem.h>
#include <linux/seq_file.h>
#include <linux/seq_file.h>
#include <linux/root_dev.h>
#include <linux/root_dev.h>
#include <linux/cpu.h>
#include <asm/residual.h>
#include <asm/residual.h>
#include <asm/io.h>
#include <asm/io.h>
...
...
arch/ppc/lib/string.S
View file @
56b3fbcb
...
@@ -78,6 +78,8 @@ _GLOBAL(strcpy)
...
@@ -78,6 +78,8 @@ _GLOBAL(strcpy)
bne
1
b
bne
1
b
blr
blr
/*
This
clears
out
any
unused
part
of
the
destination
buffer
,
just
as
the
libc
version
does
.
--
paulus
*/
_GLOBAL
(
strncpy
)
_GLOBAL
(
strncpy
)
cmpwi
0
,
r5
,
0
cmpwi
0
,
r5
,
0
beqlr
beqlr
...
@@ -88,6 +90,12 @@ _GLOBAL(strncpy)
...
@@ -88,6 +90,12 @@ _GLOBAL(strncpy)
cmpwi
0
,
r0
,
0
cmpwi
0
,
r0
,
0
stbu
r0
,
1
(
r6
)
stbu
r0
,
1
(
r6
)
bdnzf
2
,
1
b
/*
dec
ctr
,
branch
if
ctr
!=
0
&&
!
cr0
.
eq
*/
bdnzf
2
,
1
b
/*
dec
ctr
,
branch
if
ctr
!=
0
&&
!
cr0
.
eq
*/
bnelr
/*
if
we
didn
't hit a null char, we'
re
done
*/
mfctr
r5
cmpwi
0
,
r5
,
0
/*
any
space
left
in
destination
buffer
?
*/
beqlr
/*
we
know
r0
==
0
here
*/
2
:
stbu
r0
,
1
(
r6
)
/*
clear
it
out
if
so
*/
bdnz
2
b
blr
blr
_GLOBAL
(
strcat
)
_GLOBAL
(
strcat
)
...
...
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