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
7996bc4a
Commit
7996bc4a
authored
Jun 14, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
2f73086e
6d51ca2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
20 deletions
+29
-20
arch/sparc64/defconfig
arch/sparc64/defconfig
+12
-16
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+17
-4
No files found.
arch/sparc64/defconfig
View file @
7996bc4a
...
@@ -58,6 +58,7 @@ CONFIG_SBUSCHAR=y
...
@@ -58,6 +58,7 @@ CONFIG_SBUSCHAR=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_SUN_IO=y
CONFIG_PCI=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_RTC=y
CONFIG_RTC=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_NAMES is not set
# CONFIG_PCI_NAMES is not set
...
@@ -197,7 +198,7 @@ CONFIG_BLK_DEV_DM=m
...
@@ -197,7 +198,7 @@ CONFIG_BLK_DEV_DM=m
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_RAM is not set
#
#
# ATA/ATAPI/MFM/RLL
device
support
# ATA/ATAPI/MFM/RLL support
#
#
CONFIG_IDE=y
CONFIG_IDE=y
...
@@ -217,6 +218,7 @@ CONFIG_BLK_DEV_IDECD=y
...
@@ -217,6 +218,7 @@ CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_TASKFILE_IO=y
#
#
# IDE chipset support/bugfixes
# IDE chipset support/bugfixes
...
@@ -287,18 +289,8 @@ CONFIG_SCSI_CONSTANTS=y
...
@@ -287,18 +289,8 @@ CONFIG_SCSI_CONSTANTS=y
#
#
CONFIG_SCSI_SUNESP=y
CONFIG_SCSI_SUNESP=y
CONFIG_SCSI_QLOGICPTI=m
CONFIG_SCSI_QLOGICPTI=m
CONFIG_SCSI_AIC7XXX=m
# CONFIG_SCSI_AIC7XXX is not set
CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
# CONFIG_SCSI_AIC7XXX_OLD is not set
CONFIG_AIC7XXX_RESET_DELAY_MS=5000
# CONFIG_AIC7XXX_PROBE_EISA_VL is not set
# CONFIG_AIC7XXX_BUILD_FIRMWARE is not set
# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
CONFIG_AIC7XXX_DEBUG_MASK=0
# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set
CONFIG_SCSI_AIC7XXX_OLD=m
CONFIG_AIC7XXX_OLD_TCQ_ON_BY_DEFAULT=y
CONFIG_AIC7XXX_OLD_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_OLD_PROC_STATS=y
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
...
@@ -448,6 +440,7 @@ CONFIG_IPV6_PRIVACY=y
...
@@ -448,6 +440,7 @@ CONFIG_IPV6_PRIVACY=y
CONFIG_INET6_AH=m
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
CONFIG_INET6_IPCOMP=m
CONFIG_IPV6_TUNNEL=m
#
#
# IPv6: Netfilter Configuration
# IPv6: Netfilter Configuration
...
@@ -891,6 +884,7 @@ CONFIG_SERIO_I8042=y
...
@@ -891,6 +884,7 @@ CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_PCIPS2=m
#
#
# Input Device Drivers
# Input Device Drivers
...
@@ -902,6 +896,7 @@ CONFIG_KEYBOARD_SUNKBD=y
...
@@ -902,6 +896,7 @@ CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_SERIAL=y
CONFIG_MOUSE_SERIAL=y
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
...
@@ -1092,6 +1087,7 @@ CONFIG_SND_VIRMIDI=m
...
@@ -1092,6 +1087,7 @@ CONFIG_SND_VIRMIDI=m
# PCI devices
# PCI devices
#
#
CONFIG_SND_ALI5451=m
CONFIG_SND_ALI5451=m
CONFIG_SND_AZT3328=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX=m
# CONFIG_SND_CS46XX_NEW_DSP is not set
# CONFIG_SND_CS46XX_NEW_DSP is not set
CONFIG_SND_CS4281=m
CONFIG_SND_CS4281=m
...
@@ -1361,12 +1357,12 @@ CONFIG_CRYPTO_BLOWFISH=m
...
@@ -1361,12 +1357,12 @@ CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_DEFLATE=
m
CONFIG_CRYPTO_DEFLATE=
y
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_TEST is not set
#
#
# Library routines
# Library routines
#
#
CONFIG_CRC32=y
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=
m
CONFIG_ZLIB_INFLATE=
y
CONFIG_ZLIB_DEFLATE=
m
CONFIG_ZLIB_DEFLATE=
y
arch/sparc64/kernel/sys_sparc32.c
View file @
7996bc4a
...
@@ -2312,7 +2312,6 @@ int asmlinkage sys32_nfsservctl(int cmd, void *notused, void *notused2)
...
@@ -2312,7 +2312,6 @@ int asmlinkage sys32_nfsservctl(int cmd, void *notused, void *notused2)
sorts of things, like timeval and itimerval. */
sorts of things, like timeval and itimerval. */
extern
struct
timezone
sys_tz
;
extern
struct
timezone
sys_tz
;
extern
int
do_sys_settimeofday
(
struct
timeval
*
tv
,
struct
timezone
*
tz
);
asmlinkage
int
sys32_gettimeofday
(
struct
compat_timeval
*
tv
,
struct
timezone
*
tz
)
asmlinkage
int
sys32_gettimeofday
(
struct
compat_timeval
*
tv
,
struct
timezone
*
tz
)
{
{
...
@@ -2329,13 +2328,27 @@ asmlinkage int sys32_gettimeofday(struct compat_timeval *tv, struct timezone *tz
...
@@ -2329,13 +2328,27 @@ asmlinkage int sys32_gettimeofday(struct compat_timeval *tv, struct timezone *tz
return
0
;
return
0
;
}
}
static
inline
long
get_ts32
(
struct
timespec
*
o
,
struct
compat_timeval
*
i
)
{
long
usec
;
if
(
!
access_ok
(
VERIFY_READ
,
i
,
sizeof
(
*
i
)))
return
-
EFAULT
;
if
(
__get_user
(
o
->
tv_sec
,
&
i
->
tv_sec
))
return
-
EFAULT
;
if
(
__get_user
(
usec
,
&
i
->
tv_usec
))
return
-
EFAULT
;
o
->
tv_nsec
=
usec
*
1000
;
return
0
;
}
asmlinkage
int
sys32_settimeofday
(
struct
compat_timeval
*
tv
,
struct
timezone
*
tz
)
asmlinkage
int
sys32_settimeofday
(
struct
compat_timeval
*
tv
,
struct
timezone
*
tz
)
{
{
struct
time
val
ktv
;
struct
time
spec
kts
;
struct
timezone
ktz
;
struct
timezone
ktz
;
if
(
tv
)
{
if
(
tv
)
{
if
(
get_t
v32
(
&
ktv
,
tv
))
if
(
get_t
s32
(
&
kts
,
tv
))
return
-
EFAULT
;
return
-
EFAULT
;
}
}
if
(
tz
)
{
if
(
tz
)
{
...
@@ -2343,7 +2356,7 @@ asmlinkage int sys32_settimeofday(struct compat_timeval *tv, struct timezone *tz
...
@@ -2343,7 +2356,7 @@ asmlinkage int sys32_settimeofday(struct compat_timeval *tv, struct timezone *tz
return
-
EFAULT
;
return
-
EFAULT
;
}
}
return
do_sys_settimeofday
(
tv
?
&
kt
v
:
NULL
,
tz
?
&
ktz
:
NULL
);
return
do_sys_settimeofday
(
tv
?
&
kt
s
:
NULL
,
tz
?
&
ktz
:
NULL
);
}
}
asmlinkage
int
sys32_utimes
(
char
*
filename
,
struct
compat_timeval
*
tvs
)
asmlinkage
int
sys32_utimes
(
char
*
filename
,
struct
compat_timeval
*
tvs
)
...
...
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