Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29025
b: refs/heads/master
c: 24bbb1f
h: refs/heads/master
i:
  29023: 14ae69c
v: v3
  • Loading branch information
Michael Holzheu authored and Linus Torvalds committed Jun 23, 2006
1 parent f973787 commit 1713eca
Show file tree
Hide file tree
Showing 8 changed files with 1,251 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9e122c80cd2e10fe18678c63db4717871ed31cf
refs/heads/master: 24bbb1faf3f0420eb252dd0fdc1e477b1d4d73bd
8 changes: 8 additions & 0 deletions trunk/arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,14 @@ config NO_IDLE_HZ_INIT
The HZ timer is switched off in idle by default. That means the
HZ timer is already disabled at boot time.

config S390_HYPFS_FS
bool "s390 hypervisor file system support"
select SYS_HYPERVISOR
default y
help
This is a virtual file system intended to provide accounting
information in an s390 hypervisor environment.

config KEXEC
bool "kexec system call (EXPERIMENTAL)"
depends on EXPERIMENTAL
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/s390/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ LDFLAGS_vmlinux := -e start
head-y := arch/$(ARCH)/kernel/head.o arch/$(ARCH)/kernel/init_task.o

core-y += arch/$(ARCH)/mm/ arch/$(ARCH)/kernel/ arch/$(ARCH)/crypto/ \
arch/$(ARCH)/appldata/
arch/$(ARCH)/appldata/ arch/$(ARCH)/hypfs/
libs-y += arch/$(ARCH)/lib/
drivers-y += drivers/s390/
drivers-$(CONFIG_MATHEMU) += arch/$(ARCH)/math-emu/
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/s390/hypfs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Makefile for the linux hypfs filesystem routines.
#

obj-$(CONFIG_S390_HYPFS_FS) += s390_hypfs.o

s390_hypfs-objs := inode.o hypfs_diag.o
30 changes: 30 additions & 0 deletions trunk/arch/s390/hypfs/hypfs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* fs/hypfs/hypfs.h
* Hypervisor filesystem for Linux on s390.
*
* Copyright (C) IBM Corp. 2006
* Author(s): Michael Holzheu <holzheu@de.ibm.com>
*/

#ifndef _HYPFS_H_
#define _HYPFS_H_

#include <linux/fs.h>
#include <linux/types.h>

#define REG_FILE_MODE 0440
#define UPDATE_FILE_MODE 0220
#define DIR_MODE 0550

extern struct dentry *hypfs_mkdir(struct super_block *sb, struct dentry *parent,
const char *name);

extern struct dentry *hypfs_create_u64(struct super_block *sb,
struct dentry *dir, const char *name,
__u64 value);

extern struct dentry *hypfs_create_str(struct super_block *sb,
struct dentry *dir, const char *name,
char *string);

#endif /* _HYPFS_H_ */
Loading

0 comments on commit 1713eca

Please sign in to comment.