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
a49ba2e0
Commit
a49ba2e0
authored
Jul 12, 2003
by
Pete Zaitcev
Committed by
David S. Miller
Jul 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: hch's cond_syscall() for PCI syscalls, Alpha/PPC/etc. can use this too.
parent
7dc88cfa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
24 deletions
+4
-24
arch/sparc/kernel/Makefile
arch/sparc/kernel/Makefile
+2
-1
arch/sparc/kernel/pcic.c
arch/sparc/kernel/pcic.c
+0
-23
kernel/sys.c
kernel/sys.c
+2
-0
No files found.
arch/sparc/kernel/Makefile
View file @
a49ba2e0
...
@@ -12,8 +12,9 @@ obj-y := entry.o wof.o wuf.o etrap.o rtrap.o traps.o $(IRQ_OBJS) \
...
@@ -12,8 +12,9 @@ obj-y := entry.o wof.o wuf.o etrap.o rtrap.o traps.o $(IRQ_OBJS) \
sys_sparc.o sunos_asm.o systbls.o
\
sys_sparc.o sunos_asm.o systbls.o
\
time.o windows.o cpu.o devices.o sclow.o
\
time.o windows.o cpu.o devices.o sclow.o
\
tadpole.o tick14.o ptrace.o sys_solaris.o
\
tadpole.o tick14.o ptrace.o sys_solaris.o
\
unaligned.o muldiv.o
pcic.o
semaphore.o sparc_ksyms.o
unaligned.o muldiv.o semaphore.o sparc_ksyms.o
obj-$(CONFIG_PCI)
+=
pcic.o
obj-$(CONFIG_SUN4)
+=
sun4setup.o
obj-$(CONFIG_SUN4)
+=
sun4setup.o
obj-$(CONFIG_SMP)
+=
trampoline.o smp.o sun4m_smp.o sun4d_smp.o
obj-$(CONFIG_SMP)
+=
trampoline.o smp.o sun4m_smp.o sun4d_smp.o
obj-$(CONFIG_SUN_AUXIO)
+=
auxio.o
obj-$(CONFIG_SUN_AUXIO)
+=
auxio.o
...
...
arch/sparc/kernel/pcic.c
View file @
a49ba2e0
...
@@ -35,27 +35,6 @@
...
@@ -35,27 +35,6 @@
#include <asm/timer.h>
#include <asm/timer.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#ifndef CONFIG_PCI
asmlinkage
int
sys_pciconfig_read
(
unsigned
long
bus
,
unsigned
long
dfn
,
unsigned
long
off
,
unsigned
long
len
,
unsigned
char
*
buf
)
{
return
-
EINVAL
;
}
asmlinkage
int
sys_pciconfig_write
(
unsigned
long
bus
,
unsigned
long
dfn
,
unsigned
long
off
,
unsigned
long
len
,
unsigned
char
*
buf
)
{
return
-
EINVAL
;
}
#else
struct
pci_fixup
pcibios_fixups
[]
=
{
struct
pci_fixup
pcibios_fixups
[]
=
{
{
0
}
{
0
}
...
@@ -1044,5 +1023,3 @@ void insl(unsigned long addr, void *dst, unsigned long count) {
...
@@ -1044,5 +1023,3 @@ void insl(unsigned long addr, void *dst, unsigned long count) {
}
}
subsys_initcall
(
pcic_init
);
subsys_initcall
(
pcic_init
);
#endif
kernel/sys.c
View file @
a49ba2e0
...
@@ -233,6 +233,8 @@ cond_syscall(compat_sys_futex)
...
@@ -233,6 +233,8 @@ cond_syscall(compat_sys_futex)
cond_syscall
(
sys_epoll_create
)
cond_syscall
(
sys_epoll_create
)
cond_syscall
(
sys_epoll_ctl
)
cond_syscall
(
sys_epoll_ctl
)
cond_syscall
(
sys_epoll_wait
)
cond_syscall
(
sys_epoll_wait
)
cond_syscall
(
sys_pciconfig_read
)
cond_syscall
(
sys_pciconfig_write
)
static
int
set_one_prio
(
struct
task_struct
*
p
,
int
niceval
,
int
error
)
static
int
set_one_prio
(
struct
task_struct
*
p
,
int
niceval
,
int
error
)
{
{
...
...
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