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
2b46c627
Commit
2b46c627
authored
Oct 03, 2002
by
Martin Schwidefsky
Committed by
Linus Torvalds
Oct 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] s390 update (26/27): /proc/interrupts.
Don't create /proc/interrupts on s390.
parent
4eef3a34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
26 deletions
+4
-26
drivers/s390/cio/proc.c
drivers/s390/cio/proc.c
+0
-26
fs/proc/proc_misc.c
fs/proc/proc_misc.c
+4
-0
No files found.
drivers/s390/cio/proc.c
View file @
2b46c627
...
...
@@ -17,7 +17,6 @@
#include <linux/config.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <asm/io.h>
#include <asm/irq.h>
...
...
@@ -31,31 +30,6 @@
static
int
chan_proc_init
(
void
);
int
show_interrupts
(
struct
seq_file
*
p
,
void
*
v
)
{
int
i
,
j
;
seq_puts
(
p
,
" "
);
for
(
j
=
0
;
j
<
num_online_cpus
();
j
++
)
seq_printf
(
p
,
"CPU%d "
,
j
);
seq_putc
(
p
,
'\n'
);
for
(
i
=
0
;
i
<
NR_IRQS
;
i
++
)
{
if
(
ioinfo
[
i
]
==
INVALID_STORAGE_AREA
)
continue
;
seq_printf
(
p
,
"%3d: "
,
i
);
seq_printf
(
p
,
" %s"
,
ioinfo
[
i
]
->
irq_desc
.
name
);
seq_putc
(
p
,
'\n'
);
}
/* endfor */
return
0
;
}
/*
* Display info on subchannels in /proc/subchannels.
* Adapted from procfs stuff in dasd.c by Cornelia Huck, 02/28/01.
...
...
fs/proc/proc_misc.c
View file @
2b46c627
...
...
@@ -432,6 +432,7 @@ static int devices_read_proc(char *page, char **start, off_t off,
return
proc_calc_metrics
(
page
,
start
,
off
,
count
,
eof
,
len
);
}
#if !defined(CONFIG_ARCH_S390)
extern
int
show_interrupts
(
struct
seq_file
*
p
,
void
*
v
);
static
int
interrupts_open
(
struct
inode
*
inode
,
struct
file
*
file
)
{
...
...
@@ -461,6 +462,7 @@ static struct file_operations proc_interrupts_operations = {
.
llseek
=
seq_lseek
,
.
release
=
single_release
,
};
#endif
static
int
filesystems_read_proc
(
char
*
page
,
char
**
start
,
off_t
off
,
int
count
,
int
*
eof
,
void
*
data
)
...
...
@@ -643,7 +645,9 @@ void __init proc_misc_init(void)
entry
->
proc_fops
=
&
proc_kmsg_operations
;
create_seq_entry
(
"cpuinfo"
,
0
,
&
proc_cpuinfo_operations
);
create_seq_entry
(
"partitions"
,
0
,
&
proc_partitions_operations
);
#if !defined(CONFIG_ARCH_S390)
create_seq_entry
(
"interrupts"
,
0
,
&
proc_interrupts_operations
);
#endif
create_seq_entry
(
"slabinfo"
,
S_IWUSR
|
S_IRUGO
,
&
proc_slabinfo_operations
);
create_seq_entry
(
"buddyinfo"
,
S_IRUGO
,
&
fragmentation_file_operations
);
#ifdef CONFIG_MODULES
...
...
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