Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272092
b: refs/heads/master
c: 638ad34
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky committed Oct 30, 2011
1 parent 3acdfd7 commit deb715b
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 11 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: e54aafa0c3bef84bfd39b4c713942ae7cdcfc58a
refs/heads/master: 638ad34a8811119b32247b7722288ef8b90907d1
1 change: 1 addition & 0 deletions trunk/arch/s390/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ static inline int page_test_and_clear_young(unsigned long pfn)
struct page;
void arch_free_page(struct page *page, int order);
void arch_alloc_page(struct page *page, int order);
void arch_set_page_states(int make_stable);

static inline int devmem_is_allowed(unsigned long pfn)
{
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/s390/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ static inline void get_cpu_id(struct cpuid *ptr)

extern void s390_adjust_jiffies(void);
extern int get_cpu_capability(unsigned int *);
extern const struct seq_operations cpuinfo_op;
extern int sysctl_ieee_emulation_warnings;

/*
* User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit.
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/s390/include/asm/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

#include <linux/smp.h>

extern int spin_retry;

static inline int
_raw_compare_and_swap(volatile unsigned int *lock,
unsigned int old, unsigned int new)
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/s390/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

struct task_struct;

extern int sysctl_userprocess_debug;

extern struct task_struct *__switch_to(void *, void *);
extern void update_per_regs(struct task_struct *task);

Expand Down
13 changes: 11 additions & 2 deletions trunk/arch/s390/kernel/entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,33 @@
#include <linux/signal.h>
#include <asm/ptrace.h>


extern void (*pgm_check_table[128])(struct pt_regs *, long, unsigned long);
extern void *restart_stack;

asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);

void do_protection_exception(struct pt_regs *, long, unsigned long);
void do_dat_exception(struct pt_regs *, long, unsigned long);
void do_asce_exception(struct pt_regs *, long, unsigned long);

extern int sysctl_userprocess_debug;

void do_per_trap(struct pt_regs *regs);
void syscall_trace(struct pt_regs *regs, int entryexit);
void kernel_stack_overflow(struct pt_regs * regs);
void do_signal(struct pt_regs *regs);
int handle_signal32(unsigned long sig, struct k_sigaction *ka,
siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
void do_notify_resume(struct pt_regs *regs);

void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long);
void do_restart(void);
int __cpuinit start_secondary(void *cpuvoid);
void __init startup_init(void);
void die(const char * str, struct pt_regs * regs, long err);

void __init time_init(void);

struct s390_mmap_arg_struct;
struct fadvise64_64_args;
struct old_sigaction;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/kernel/ipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <asm/sclp.h>
#include <asm/sigp.h>
#include <asm/checksum.h>
#include "entry.h"

#define IPL_PARM_BLOCK_VERSION 0

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/elfcore.h>
#include <linux/smp.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/kernel/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <linux/pfn.h>
#include <linux/suspend.h>
#include <linux/mm.h>
#include <asm/system.h>

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <asm/timer.h>
#include <asm/etr.h>
#include <asm/cio.h>
#include "entry.h"

/* change this if you have some constant time drift */
#define USECS_PER_JIFFY ((unsigned long) 1000000/HZ)
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <linux/personality.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/module.h>
#include <linux/random.h>
#include <asm/pgalloc.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <asm/cacheflush.h>
#include <asm/pgtable.h>

static void change_page_attr(unsigned long addr, int numpages,
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/s390/cio/css.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ struct channel_subsystem {

extern struct channel_subsystem *channel_subsystems[];

void channel_subsystem_reinit(void);

/* Helper functions to build lists for the slow path. */
void css_schedule_eval(struct subchannel_id schid);
void css_schedule_eval_all(void);
Expand Down
8 changes: 0 additions & 8 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ extern int pwrsw_enabled;
extern int unaligned_enabled;
#endif

#ifdef CONFIG_S390
#ifdef CONFIG_MATHEMU
extern int sysctl_ieee_emulation_warnings;
#endif
extern int sysctl_userprocess_debug;
extern int spin_retry;
#endif

#ifdef CONFIG_IA64
extern int no_unaligned_warning;
extern int unaligned_dump_stack;
Expand Down

0 comments on commit deb715b

Please sign in to comment.