OBJCOPYFLAGS := -O binary
LDFLAGS_vmlinux := -e start
-CFLAGS_PIPE := -pipe
-CFLAGS_NSR := -fno-strength-reduce
-CFLAGS := $(CFLAGS) $(CFLAGS_PIPE) $(CFLAGS_NSR)
+CFLAGS += -pipe -fno-strength-reduce
HEAD := arch/s390/kernel/head.o arch/s390/kernel/init_task.o
image: vmlinux
@$(MAKEBOOT) image
+install: vmlinux
+ @$(MAKEBOOT) BOOTIMAGE=image install
+
archclean:
- @$(MAKEBOOT) clean
- $(MAKE) -C arch/$(ARCH)/kernel clean
archmrproper:
-install: vmlinux
- @$(MAKEBOOT) BOOTIMAGE=image install
+prepare: include/asm-$(ARCH)/offsets.h
+
+arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
+ include/config/MARKER
+
+include/asm-$(ARCH)/offsets.h.tmp: arch/$(ARCH)/kernel/asm-offsets.s
+ @$(generate-asm-offsets.h) < $< > $@
+
+include/asm-$(ARCH)/offsets.h: include/asm-$(ARCH)/offsets.h.tmp
+ @echo -n ' Generating $@'
+ @$(update-if-changed)
+
+CLEAN_FILES += include/asm-$(ARCH)/offsets.h.tmp \
+ include/asm-$(ARCH)/offsets.h
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
+# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
+# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
#
obj-$(CONFIG_REMOTE_DEBUG) += gdb-stub.o #gdb-low.o
include $(TOPDIR)/Rules.make
-
-.PHONY: asm-offsets.h
-
-entry.S: asm-offsets.h
-
-asm-offsets.h: asm-offsets.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -S $< -o - | grep -- "->" | \
- (echo "#ifndef __ASM_OFFSETS_H__"; \
- echo "#define __ASM_OFFSETS_H__"; \
- echo "/*"; \
- echo " * DO NOT MODIFY"; \
- echo " *"; \
- echo " * This file was generated by arch/s390/kernel/Makefile"; \
- echo " */"; \
- sed -e "s:^->\([^ ]*\) \([^ ]*\) \(.*\):#define \\1 \\2 /* \\3*/:" \
- -e "s:->::"; \
- echo "#endif" \
- ) > asm-offsets.h
-
-clean:
- rm -f asm-offsets.h
-
-
#include <asm/errno.h>
#include <asm/ptrace.h>
#include <asm/thread_info.h>
-
-#include "asm-offsets.h"
+#include <asm/offsets.h>
/*
* Stack layout for the system_call stack entry.
LDFLAGS_vmlinux := -e start
MODFLAGS += -fpic
-CFLAGS_PIPE := -pipe
-CFLAGS_NSR := -fno-strength-reduce
-CFLAGS := $(CFLAGS) $(CFLAGS_PIPE) $(CFLAGS_NSR)
+CFLAGS += -pipe -fno-strength-reduce
HEAD := arch/s390x/kernel/head.o arch/s390x/kernel/init_task.o
@$(MAKEBOOT) BOOTIMAGE=image install
archclean:
- @$(MAKEBOOT) clean
- $(MAKE) -C arch/$(ARCH)/kernel clean
archmrproper:
+
+prepare: include/asm-$(ARCH)/offsets.h
+
+arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
+ include/config/MARKER
+
+include/asm-$(ARCH)/offsets.h.tmp: arch/$(ARCH)/kernel/asm-offsets.s
+ @$(generate-asm-offsets.h) < $< > $@
+
+include/asm-$(ARCH)/offsets.h: include/asm-$(ARCH)/offsets.h.tmp
+ @echo -n ' Generating $@'
+ @$(update-if-changed)
+
+CLEAN_FILES += include/asm-$(ARCH)/offsets.h.tmp \
+ include/asm-$(ARCH)/offsets.h
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
+# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
+# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
#
# This is just to get the dependencies...
#
binfmt_elf32.o: $(TOPDIR)/fs/binfmt_elf.c
-
-.PHONY: asm-offsets.h
-
-entry.S: asm-offsets.h
-
-#
-# Automatic offset generation for assembler files.
-#
-asm-offsets.h: asm-offsets.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -S $< -o - | grep -- "->" | \
- (echo "#ifndef __ASM_OFFSETS_H__"; \
- echo "#define __ASM_OFFSETS_H__"; \
- echo "/*"; \
- echo " * DO NOT MODIFY"; \
- echo " *"; \
- echo " * This file was generated by arch/s390/kernel/Makefile"; \
- echo " */"; \
- sed -e "s:^->\([^ ]*\) \([^ ]*\) \(.*\):#define \\1 \\2 /* \\3*/:" \
- -e "s:->::"; \
- echo "#endif" \
- ) > asm-offsets.h
-
-clean:
- rm -f asm-offsets.h
-
#include <asm/errno.h>
#include <asm/ptrace.h>
#include <asm/thread_info.h>
-
-#include "asm-offsets.h"
+#include <asm/offsets.h>
/*
* Stack layout for the system_call stack entry.
#include <linux/ext2_fs.h>
#include <linux/hdreg.h>
#include <linux/if_bonding.h>
-#include <linux/loop.h>
#include <linux/blkpg.h>
#include <linux/blk.h>
+#include <linux/loop.h>
#include <linux/elevator.h>
#include <asm/types.h>
#include <asm/uaccess.h>
}
spin_lock_irq(¤t->sig->siglock);
- sig = dequeue_signal(¤t->sig->shared_pending, &these, &info);
- if (!sig)
- sig = dequeue_signal(¤t->pending, &these, &info);
+ sig = dequeue_signal(&these, &info);
if (!sig) {
/* None ready -- temporarily unblock those we're interested
in so that we'll be awakened when they arrive. */
timeout = schedule_timeout(timeout);
spin_lock_irq(¤t->sig->siglock);
- sig = dequeue_signal(¤t->sig->shared_pending, &these, &info);
- if (!sig)
- sig = dequeue_signal(¤t->pending, &these, &info);
+ sig = dequeue_signal(&these, &info);
current->blocked = current->real_blocked;
siginitset(¤t->real_blocked, 0);
recalc_sigpending();
/*
* drivers/s390/cio/cio.c
* S/390 common I/O routines -- low level i/o calls
- * $Revision: 1.26 $
+ * $Revision: 1.27 $
*
* Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
#include "cio.h"
#include "cio_debug.h"
#include "ioinfo.h"
+#include "chsc.h"
#include "s390io.h" /* FIXME: try to do without this */
static atomic_t sync_isc = ATOMIC_INIT (-1);