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
de44a4dd
Commit
de44a4dd
authored
Jan 12, 2005
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6
parents
de10f9d4
539cb017
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
22 deletions
+18
-22
arch/sparc64/Kconfig
arch/sparc64/Kconfig
+2
-8
arch/sparc64/defconfig
arch/sparc64/defconfig
+10
-11
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+2
-1
arch/sparc64/kernel/sys_sunos32.c
arch/sparc64/kernel/sys_sunos32.c
+4
-2
No files found.
arch/sparc64/Kconfig
View file @
de44a4dd
...
@@ -92,8 +92,8 @@ config SMP
...
@@ -92,8 +92,8 @@ config SMP
bool "Symmetric multi-processing support"
bool "Symmetric multi-processing support"
---help---
---help---
This enables support for systems with more than one CPU. If you have
This enables support for systems with more than one CPU. If you have
a system with only one CPU,
like most personal computers, say N. If
a system with only one CPU,
say N. If you have a system with more than
you have a system with more than
one CPU, say Y.
one CPU, say Y.
If you say N here, the kernel will run on single and multiprocessor
If you say N here, the kernel will run on single and multiprocessor
machines, but will use only one CPU of a multiprocessor machine. If
machines, but will use only one CPU of a multiprocessor machine. If
...
@@ -101,17 +101,11 @@ config SMP
...
@@ -101,17 +101,11 @@ config SMP
singleprocessor machines. On a singleprocessor machine, the kernel
singleprocessor machines. On a singleprocessor machine, the kernel
will run faster if you say N here.
will run faster if you say N here.
Note that if you say Y here and choose architecture "586" or
"Pentium" under "Processor family", the kernel will not work on 486
architectures. Similarly, multiprocessor kernels for the "PPro"
architecture may not work on all Pentium based boards.
People using multiprocessor machines who say Y here should also say
People using multiprocessor machines who say Y here should also say
Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
Management" code will be disabled if you say Y here.
Management" code will be disabled if you say Y here.
See also the <file:Documentation/smp.txt>,
See also the <file:Documentation/smp.txt>,
<file:Documentation/i386/IO-APIC.txt>,
<file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
<file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
<http://www.tldp.org/docs.html#howto>.
<http://www.tldp.org/docs.html#howto>.
...
...
arch/sparc64/defconfig
View file @
de44a4dd
#
#
# Automatically generated make config: don't edit
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.10
# Linux kernel version: 2.6.10
# Mon
Dec 27 22:36:56 2004
# Mon
Jan 10 11:24:25 2005
#
#
CONFIG_64BIT=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_MMU=y
...
@@ -79,6 +79,7 @@ CONFIG_US3_FREQ=m
...
@@ -79,6 +79,7 @@ CONFIG_US3_FREQ=m
CONFIG_US2E_FREQ=m
CONFIG_US2E_FREQ=m
CONFIG_SPARC64=y
CONFIG_SPARC64=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_HUGETLB_PAGE_SIZE_4MB=y
CONFIG_HUGETLB_PAGE_SIZE_4MB=y
# CONFIG_HUGETLB_PAGE_SIZE_512K is not set
# CONFIG_HUGETLB_PAGE_SIZE_512K is not set
# CONFIG_HUGETLB_PAGE_SIZE_64K is not set
# CONFIG_HUGETLB_PAGE_SIZE_64K is not set
...
@@ -336,6 +337,7 @@ CONFIG_SCSI_CONSTANTS=y
...
@@ -336,6 +337,7 @@ CONFIG_SCSI_CONSTANTS=y
#
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_ISCSI_ATTRS=m
#
#
# SCSI low-level drivers
# SCSI low-level drivers
...
@@ -395,7 +397,6 @@ CONFIG_SCSI_QLA2XXX=y
...
@@ -395,7 +397,6 @@ CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6322 is not set
CONFIG_SCSI_DC395x=m
CONFIG_SCSI_DC395x=m
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DC390T is not set
CONFIG_SCSI_DEBUG=m
CONFIG_SCSI_DEBUG=m
...
@@ -619,8 +620,6 @@ CONFIG_IP_NF_TARGET_NOTRACK=m
...
@@ -619,8 +620,6 @@ CONFIG_IP_NF_TARGET_NOTRACK=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
CONFIG_IP_NF_ARP_MANGLE=m
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_COMPAT_IPFWADM=m
#
#
# IPv6: Netfilter Configuration
# IPv6: Netfilter Configuration
...
@@ -894,7 +893,6 @@ CONFIG_B44=m
...
@@ -894,7 +893,6 @@ CONFIG_B44=m
CONFIG_FORCEDETH=m
CONFIG_FORCEDETH=m
CONFIG_DGRS=m
CONFIG_DGRS=m
CONFIG_EEPRO100=m
CONFIG_EEPRO100=m
# CONFIG_EEPRO100_PIO is not set
CONFIG_E100=m
CONFIG_E100=m
CONFIG_E100_NAPI=y
CONFIG_E100_NAPI=y
CONFIG_FEALNX=m
CONFIG_FEALNX=m
...
@@ -1081,7 +1079,6 @@ CONFIG_UNIX98_PTY_COUNT=256
...
@@ -1081,7 +1079,6 @@ CONFIG_UNIX98_PTY_COUNT=256
# XFree86 DRI support
# XFree86 DRI support
#
#
CONFIG_DRM=y
CONFIG_DRM=y
CONFIG_DRM_FFB=m
CONFIG_DRM_TDFX=m
CONFIG_DRM_TDFX=m
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_R128 is not set
...
@@ -1112,13 +1109,14 @@ CONFIG_SOUND_GAMEPORT=m
...
@@ -1112,13 +1109,14 @@ CONFIG_SOUND_GAMEPORT=m
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_VORTEX is not set
# CONFIG_GAMEPORT_VORTEX is not set
# CONFIG_GAMEPORT_FM801 is not set
# CONFIG_GAMEPORT_FM801 is not set
# CONFIG_GAMEPORT_CS461x is not set
CONFIG_GAMEPORT_CS461X=m
CONFIG_SERIO=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
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
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
CONFIG_SERIO_RAW=m
#
#
...
@@ -1239,6 +1237,7 @@ CONFIG_FS_MBCACHE=y
...
@@ -1239,6 +1237,7 @@ CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_FS is not set
CONFIG_JFS_FS=m
CONFIG_JFS_FS=m
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_JFS_STATISTICS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_FS_POSIX_ACL=y
...
@@ -1308,7 +1307,6 @@ CONFIG_CRAMFS=m
...
@@ -1308,7 +1307,6 @@ CONFIG_CRAMFS=m
CONFIG_VXFS_FS=m
CONFIG_VXFS_FS=m
CONFIG_HPFS_FS=m
CONFIG_HPFS_FS=m
CONFIG_QNX4FS_FS=m
CONFIG_QNX4FS_FS=m
# CONFIG_QNX4FS_RW is not set
CONFIG_SYSV_FS=m
CONFIG_SYSV_FS=m
CONFIG_UFS_FS=m
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y
CONFIG_UFS_FS_WRITE=y
...
@@ -1579,6 +1577,8 @@ CONFIG_SND_CS46XX=m
...
@@ -1579,6 +1577,8 @@ 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
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_CA0106=m
CONFIG_SND_KORG1212=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MIXART=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_NM256=m
...
@@ -1603,13 +1603,13 @@ CONFIG_SND_INTEL8X0=m
...
@@ -1603,13 +1603,13 @@ CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_SONICVIBES=m
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX is not set
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VX222=m
CONFIG_SND_VX222=m
#
#
# USB devices
# USB devices
#
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_AUDIO is not set
CONFIG_SND_USB_USX2Y=m
#
#
# ALSA Sparc devices
# ALSA Sparc devices
...
@@ -1691,7 +1691,6 @@ CONFIG_USB_ATI_REMOTE=m
...
@@ -1691,7 +1691,6 @@ CONFIG_USB_ATI_REMOTE=m
#
#
CONFIG_USB_MDC800=m
CONFIG_USB_MDC800=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_HPUSBSCSI=m
#
#
# USB Multimedia devices
# USB Multimedia devices
...
@@ -1862,7 +1861,7 @@ CONFIG_SCHEDSTATS=y
...
@@ -1862,7 +1861,7 @@ CONFIG_SCHEDSTATS=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_STACK_USAGE is not set
CONFIG_KPROBES=y
CONFIG_KPROBES=y
...
...
arch/sparc64/kernel/sys_sparc32.c
View file @
de44a4dd
...
@@ -1598,7 +1598,8 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 __user *args)
...
@@ -1598,7 +1598,8 @@ asmlinkage long sys32_sysctl(struct __sysctl_args32 __user *args)
put_user
(
oldlen
,
(
u32
__user
*
)(
unsigned
long
)
tmp
.
oldlenp
))
put_user
(
oldlen
,
(
u32
__user
*
)(
unsigned
long
)
tmp
.
oldlenp
))
error
=
-
EFAULT
;
error
=
-
EFAULT
;
}
}
copy_to_user
(
args
->
__unused
,
tmp
.
__unused
,
sizeof
(
tmp
.
__unused
));
if
(
copy_to_user
(
args
->
__unused
,
tmp
.
__unused
,
sizeof
(
tmp
.
__unused
)))
error
=
-
EFAULT
;
}
}
return
error
;
return
error
;
#endif
#endif
...
...
arch/sparc64/kernel/sys_sunos32.c
View file @
de44a4dd
...
@@ -291,7 +291,8 @@ static int sunos_filldir(void * __buf, const char * name, int namlen,
...
@@ -291,7 +291,8 @@ static int sunos_filldir(void * __buf, const char * name, int namlen,
put_user
(
ino
,
&
dirent
->
d_ino
);
put_user
(
ino
,
&
dirent
->
d_ino
);
put_user
(
namlen
,
&
dirent
->
d_namlen
);
put_user
(
namlen
,
&
dirent
->
d_namlen
);
put_user
(
reclen
,
&
dirent
->
d_reclen
);
put_user
(
reclen
,
&
dirent
->
d_reclen
);
copy_to_user
(
dirent
->
d_name
,
name
,
namlen
);
if
(
copy_to_user
(
dirent
->
d_name
,
name
,
namlen
))
return
-
EFAULT
;
put_user
(
0
,
dirent
->
d_name
+
namlen
);
put_user
(
0
,
dirent
->
d_name
+
namlen
);
dirent
=
(
void
__user
*
)
dirent
+
reclen
;
dirent
=
(
void
__user
*
)
dirent
+
reclen
;
buf
->
curr
=
dirent
;
buf
->
curr
=
dirent
;
...
@@ -371,7 +372,8 @@ static int sunos_filldirentry(void * __buf, const char * name, int namlen,
...
@@ -371,7 +372,8 @@ static int sunos_filldirentry(void * __buf, const char * name, int namlen,
put_user
(
ino
,
&
dirent
->
d_ino
);
put_user
(
ino
,
&
dirent
->
d_ino
);
put_user
(
namlen
,
&
dirent
->
d_namlen
);
put_user
(
namlen
,
&
dirent
->
d_namlen
);
put_user
(
reclen
,
&
dirent
->
d_reclen
);
put_user
(
reclen
,
&
dirent
->
d_reclen
);
copy_to_user
(
dirent
->
d_name
,
name
,
namlen
);
if
(
copy_to_user
(
dirent
->
d_name
,
name
,
namlen
))
return
-
EFAULT
;
put_user
(
0
,
dirent
->
d_name
+
namlen
);
put_user
(
0
,
dirent
->
d_name
+
namlen
);
dirent
=
(
void
__user
*
)
dirent
+
reclen
;
dirent
=
(
void
__user
*
)
dirent
+
reclen
;
buf
->
curr
=
dirent
;
buf
->
curr
=
dirent
;
...
...
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