You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(66) |
Jul
(16) |
Aug
(2) |
Sep
(7) |
Oct
(17) |
Nov
(1) |
Dec
(220) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(154) |
Feb
(167) |
Mar
(159) |
Apr
(172) |
May
(35) |
Jun
(58) |
Jul
(97) |
Aug
(285) |
Sep
(139) |
Oct
(252) |
Nov
(8) |
Dec
(3) |
2004 |
Jan
(13) |
Feb
(159) |
Mar
(136) |
Apr
(33) |
May
(50) |
Jun
(42) |
Jul
(140) |
Aug
(42) |
Sep
(199) |
Oct
(31) |
Nov
(55) |
Dec
|
2005 |
Jan
|
Feb
(12) |
Mar
(214) |
Apr
(119) |
May
(21) |
Jun
(2) |
Jul
(127) |
Aug
(10) |
Sep
(3) |
Oct
(24) |
Nov
(1) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(45) |
May
(13) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(26) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(35) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Kenn H. <ke...@us...> - 2003-01-27 00:21:40
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv12490/arch/vax/kernel Modified Files: time.c Log Message: jiffies_64 definition now lives in arch-dependent code Index: time.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/time.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- time.c 20 May 2002 01:09:49 -0000 1.5 +++ time.c 27 Jan 2003 00:21:36 -0000 1.6 @@ -28,6 +28,8 @@ #include <asm/clock.h> #include <linux/mc146818rtc.h> +u64 jiffies_64; + spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED; extern rwlock_t xtime_lock; /* last time the cmos clock got updated */ |
From: Kenn H. <ke...@us...> - 2003-01-27 00:21:09
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax In directory sc8-pr-cvs1:/tmp/cvs-serv12367/arch/vax Modified Files: Makefile Log Message: Remove deprecated targets Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Makefile 24 Jan 2003 00:28:31 -0000 1.9 +++ Makefile 27 Jan 2003 00:21:04 -0000 1.10 @@ -107,17 +107,11 @@ linkonly: FORCE $(ARCHDIRS) $(TOOLSDIR) @$(call rule_link_vmlinux) -dep: - -fastdep: - archclean: rm -f vmlinux.* vmlinux cd $(TOPDIR)/arch/vax ; rm -f *.out TEST.BIN TEST.SYS header.bin cd $(TOOLSDIR) ; rm -f setcmdline showcmdline mkbootblk archmrproper: - -archdep: clean: archclean |
From: Kenn H. <ke...@us...> - 2003-01-27 00:19:15
|
Update of /cvsroot/linux-vax/kernel-2.5/include/linux In directory sc8-pr-cvs1:/tmp/cvs-serv11863/include/linux Modified Files: smp.h Log Message: Add the trivial definition of cpu_online_map that is required for UP. Linus will add this in 2.5.24, at which time I'll revert to his branch for this file. Index: smp.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/linux/smp.h,v retrieving revision 1.1.1.8 retrieving revision 1.2 diff -u -r1.1.1.8 -r1.2 --- smp.h 26 Jan 2003 19:55:40 -0000 1.1.1.8 +++ smp.h 27 Jan 2003 00:19:11 -0000 1.2 @@ -86,6 +86,7 @@ #define smp_call_function(func,info,retry,wait) ({ 0; }) static inline void smp_send_reschedule(int cpu) { } static inline void smp_send_reschedule_all(void) { } +#define cpu_online_map 1 #define cpu_online(cpu) 1 #define num_online_cpus() 1 #define __per_cpu_data |
From: Kenn H. <ke...@us...> - 2003-01-26 23:21:00
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/x86_64/tools In directory sc8-pr-cvs1:/tmp/cvs-serv17108/arch/x86_64/tools Removed Files: Makefile offset.c offset.sed Log Message: Merge with 2.5.23 --- Makefile DELETED --- --- offset.c DELETED --- --- offset.sed DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-26 23:21:00
|
Update of /cvsroot/linux-vax/kernel-2.5 In directory sc8-pr-cvs1:/tmp/cvs-serv17108 Modified Files: Makefile Rules.make Log Message: Merge with 2.5.23 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Makefile,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- Makefile 25 Jan 2003 00:33:31 -0000 1.28 +++ Makefile 26 Jan 2003 23:20:56 -0000 1.29 @@ -1,6 +1,6 @@ VERSION = 2 PATCHLEVEL = 5 -SUBLEVEL = 22 +SUBLEVEL = 23 EXTRAVERSION = # We are using a recursive build, so we need to do a little thinking @@ -145,7 +145,8 @@ .config: @echo '***' @echo '*** You have not yet configured your kernel!' - @echo '*** Please run "make xconfig/menuconfig/config/oldconfig"' + @echo '*** Please run some configurator (do "make xconfig" or' + @echo '*** "make menuconfig" or "make oldconfig" or "make config").' @echo '***' @exit 1 @@ -330,18 +331,16 @@ # The targets are still named depend / dep for traditional # reasons, but the only thing we do here is generating # the module version checksums. -# FIXME: For now, we are also calling "archdep" from here, -# which should be replaced by a more sensible solution. .PHONY: depend dep $(patsubst %,_sfdep_%,$(SUBDIRS)) depend dep: .hdepend # .hdepend is our (misnomed) marker for whether we've run -# generated module versions and made archdep +# generated module versions .hdepend: $(if $(filter dep depend,$(MAKECMDGOALS)),FORCE) - @$(MAKE) archdep include/linux/modversions.h + @$(MAKE) include/linux/modversions.h @touch $@ ifdef CONFIG_MODVERSIONS @@ -420,8 +419,8 @@ else # CONFIG_MODULES -# --------------------------------------------------------------------------- # Modules not configured +# --------------------------------------------------------------------------- modules modules_install: FORCE @echo @@ -433,6 +432,25 @@ endif # CONFIG_MODULES +# Generate asm-offsets.h +# --------------------------------------------------------------------------- + +define generate-asm-offsets.h + (set -e; \ + echo "#ifndef __ASM_OFFSETS_H__"; \ + echo "#define __ASM_OFFSETS_H__"; \ + echo "/*"; \ + echo " * DO NOT MODIFY."; \ + echo " *"; \ + echo " * This file was generated by arch/$(ARCH)/Makefile"; \ + echo " *"; \ + echo " */"; \ + echo ""; \ + sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \ + echo ""; \ + echo "#endif" ) +endef + # RPM target # --------------------------------------------------------------------------- @@ -461,6 +479,8 @@ else # ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) +ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) + # Targets which don't need .config # =========================================================================== # @@ -519,23 +539,6 @@ defconfig: yes '' | $(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in -# How we generate .config depends on which *config the -# user chose when calling make - -.config: $(filter oldconfig xconfig menuconfig config,$(MAKECMDGOALS)) ; - -# If the user gave commands from both the need / need not -# .config sections, we need to call make again after -# .config is generated, now to take care of the remaining -# targets we know nothing about in this section - -remaining_targets := $(filter-out $(noconfig_targets),$(MAKECMDGOALS)) - -$(remaining_targets) : make_with_config - -make_with_config: .config - @$(MAKE) $(remaining_targets) - # Cleaning up # --------------------------------------------------------------------------- @@ -604,7 +607,8 @@ mrproper: clean archmrproper @echo 'Making mrproper' - @find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f + @find . \( -size 0 -o -name .depend -o -name .\*.cmd \) \ + -type f -print | xargs rm -f @rm -f $(MRPROPER_FILES) @rm -rf $(MRPROPER_DIRS) @$(MAKE) -C Documentation/DocBook mrproper @@ -639,8 +643,6 @@ @$(MAKE) -C Documentation/DocBook $@ -endif # ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) - # Scripts to check various things for consistency # --------------------------------------------------------------------------- @@ -652,6 +654,18 @@ checkincludes: find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkincludes.pl + +else # ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) + +# We're called with both targets which do and do not need +# .config included. Handle them one after the other. +# =========================================================================== + +%:: FORCE + $(MAKE) $@ + +endif # ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) +endif # ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) # FIXME Should go into a make.lib or something # =========================================================================== Index: Rules.make =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Rules.make,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Rules.make 25 Jan 2003 00:33:31 -0000 1.14 +++ Rules.make 26 Jan 2003 23:20:56 -0000 1.15 @@ -131,9 +131,13 @@ genksyms_smp_prefix := endif -$(MODVERDIR)/$(real-objs-y:.o=.ver): modkern_cflags := $(CFLAGS_KERNEL) -$(MODVERDIR)/$(real-objs-m:.o=.ver): modkern_cflags := $(CFLAGS_MODULE) -$(MODVERDIR)/$(export-objs:.o=.ver): export_flags := -D__GENKSYMS__ +# Don't include modversions.h, we're just about to generate it here. + +CFLAGS_MODULE := $(filter-out -include $(HPATH)/linux/modversions.h,$(CFLAGS_MODULE)) + +$(addprefix $(MODVERDIR)/,$(real-objs-y:.o=.ver)): modkern_cflags := $(CFLAGS_KERNEL) +$(addprefix $(MODVERDIR)/,$(real-objs-m:.o=.ver)): modkern_cflags := $(CFLAGS_MODULE) +$(addprefix $(MODVERDIR)/,$(export-objs:.o=.ver)): export_flags := -D__GENKSYMS__ c_flags = -Wp,-MD,$(depfile) $(CFLAGS) $(NOSTDINC_FLAGS) \ $(modkern_cflags) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) \ @@ -145,18 +149,34 @@ # files changes quiet_cmd_cc_ver_c = MKVER include/linux/modules/$(RELDIR)/$*.ver -define cmd_cc_ver_c - mkdir -p $(dir $@); \ - $(CPP) $(c_flags) $< | $(GENKSYMS) $(genksyms_smp_prefix) \ - -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@.tmp; \ +cmd_cc_ver_c = $(CPP) $(c_flags) $< | $(GENKSYMS) $(genksyms_smp_prefix) \ + -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@.tmp + +# Okay, let's explain what's happening in rule_make_cc_ver_c: +# o echo the command +# o execute the command +# o If the $(CPP) fails, we won't notice because it's output is piped +# to $(GENKSYMS) which does not fail. We recognize this case by +# looking if the generated $(depfile) exists, though. +# o If the .ver file changed, touch modversions.h, which is our maker +# of any changed .ver files. +# o Move command line and deps into their normal .*.cmd place. + +define rule_cc_ver_c + $(if $($(quiet)cmd_cc_ver_c),echo ' $($(quiet)cmd_cc_ver_c)';) \ + $(cmd_cc_ver_c); \ + if [ ! -r $(depfile) ]; then exit 1; fi; \ + $(TOPDIR)/scripts/fixdep $(depfile) $@ $(TOPDIR) '$(cmd_cc_ver_c)' > $(@D)/.$(@F).tmp; \ + rm -f $(depfile); \ if [ ! -r $@ ] || cmp -s $@ $@.tmp; then \ touch $(TOPDIR)/include/linux/modversions.h; \ fi; \ mv -f $@.tmp $@ + mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd endef $(MODVERDIR)/%.ver: %.c FORCE - @$(call if_changed_dep,cc_ver_c) + @$(call if_changed_rule,cc_ver_c) targets := $(addprefix $(MODVERDIR)/,$(export-objs:.o=.ver)) @@ -449,7 +469,7 @@ # execute the command and also postprocess generated .d dependencies # file -if_changed_dep = $(if $(strip $? \ +if_changed_dep = $(if $(strip $? $(filter-out FORCE $(wildcard $^),$^)\ $(filter-out $(cmd_$(1)),$(cmd_$@))\ $(filter-out $(cmd_$@),$(cmd_$(1)))),\ @set -e; \ @@ -458,6 +478,17 @@ $(TOPDIR)/scripts/fixdep $(depfile) $@ $(TOPDIR) '$(cmd_$(1))' > $(@D)/.$(@F).tmp; \ rm -f $(depfile); \ mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd) + +# Usage: $(call if_changed_rule,foo) +# will check if $(cmd_foo) changed, or any of the prequisites changed, +# and if so will execute $(rule_foo) + +if_changed_rule = $(if $(strip $? \ + $(filter-out $(cmd_$(1)),$(cmd_$@))\ + $(filter-out $(cmd_$@),$(cmd_$(1)))),\ + @set -e; \ + mkdir -p $(dir $@); \ + $(rule_$(1))) # If quiet is set, only print short version of command |
From: Kenn H. <ke...@us...> - 2003-01-26 23:21:00
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/alpha/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv17108/arch/alpha/kernel Removed Files: check_asm.c Log Message: Merge with 2.5.23 --- check_asm.c DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-26 23:21:00
|
Update of /cvsroot/linux-vax/kernel-2.5/include/linux In directory sc8-pr-cvs1:/tmp/cvs-serv17108/include/linux Removed Files: xqm.h Log Message: Merge with 2.5.23 --- xqm.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-26 23:21:00
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/s390/block In directory sc8-pr-cvs1:/tmp/cvs-serv17108/drivers/s390/block Removed Files: xpram.h Log Message: Merge with 2.5.23 --- xpram.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-26 23:21:00
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/arm/tools In directory sc8-pr-cvs1:/tmp/cvs-serv17108/arch/arm/tools Removed Files: constants-hdr getconstants.c Log Message: Merge with 2.5.23 --- constants-hdr DELETED --- --- getconstants.c DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-26 17:06:33
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1:/tmp/cvs-serv3597/include/asm-vax Modified Files: system.h Log Message: Changed task-switching API between arch-dependent and arch-independent code. Index: system.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/system.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- system.h 7 Dec 2002 00:15:39 -0000 1.5 +++ system.h 26 Jan 2003 17:06:29 -0000 1.6 @@ -8,9 +8,10 @@ #include <linux/kernel.h> -/* any preparation needed before a context switch ? */ -#define prepare_to_switch() do { } while(0) - +#define prepare_arch_schedule(prev) do { } while(0) +#define finish_arch_schedule(prev) do { } while(0) +#define prepare_arch_switch(rq) do { } while(0) +#define finish_arch_switch(rq) spin_unlock_irq(&(rq)->lock) #include <asm/psl.h> @@ -35,7 +36,7 @@ struct task_struct; /* one of the stranger aspects of C forward declarations.. */ -extern void switch_to(struct task_struct*, struct task_struct*); +extern void switch_to(struct task_struct*, struct task_struct*, struct task_struct *); /* mb is the alpha instruction to cause serialisation of memory operations. According to a software note in section 5.5.4 of |
From: Kenn H. <ke...@us...> - 2003-01-26 17:06:33
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv3597/arch/vax/kernel Modified Files: process.c Log Message: Changed task-switching API between arch-dependent and arch-independent code. Index: process.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/process.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- process.c 31 Dec 2002 22:32:22 -0000 1.10 +++ process.c 26 Jan 2003 17:06:27 -0000 1.11 @@ -46,7 +46,7 @@ /* nothing */ } -void switch_to(struct task_struct* prev, struct task_struct* next) +void switch_to(struct task_struct* prev, struct task_struct* next, struct task_struct *last) { unsigned long pcbb; /* physical address of new pcb */ |
From: Kenn H. <ke...@us...> - 2003-01-26 17:05:42
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv3078/arch/vax/kernel Modified Files: setup.c Log Message: ROOT_DEV is now a dev_t, and is declared in <linux/root_dev.h> Index: setup.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/setup.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- setup.c 24 Jan 2003 00:28:31 -0000 1.7 +++ setup.c 26 Jan 2003 17:05:38 -0000 1.8 @@ -16,6 +16,9 @@ #include <linux/string.h> #include <linux/delay.h> #include <linux/seq_file.h> +#include <linux/major.h> +#include <linux/kdev_t.h> +#include <linux/root_dev.h> #include <asm/rpb.h> #include <asm/page.h> @@ -163,7 +166,7 @@ SET_PAGE_DIR(current, swapper_pg_dir); /* No root filesystem yet */ - ROOT_DEV = NODEV; + ROOT_DEV = Root_NFS; /* Inserted by D.A. - 8 Jun 2001 - THIS IS NECESSARY if not correct */ |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:37
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-x86_64 In directory sc8-pr-cvs1:/tmp/cvs-serv15380/include/asm-x86_64 Removed Files: locks.h Log Message: Merge with 2.5.22 --- locks.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:36
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/net In directory sc8-pr-cvs1:/tmp/cvs-serv15380/drivers/net Modified Files: Makefile Log Message: Merge with 2.5.22 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/net/Makefile,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Makefile 12 Jan 2003 22:52:53 -0000 1.13 +++ Makefile 25 Jan 2003 00:33:32 -0000 1.14 @@ -2,9 +2,6 @@ # Makefile for the Linux network (ethercard) device drivers. # -mod-subdirs := appletalk arcnet fc irda tokenring tulip pcmcia wireless \ - wan ../acorn/net - # All of the (potential) objects that export symbols. # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'. |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:36
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers In directory sc8-pr-cvs1:/tmp/cvs-serv15380/drivers Modified Files: Makefile Log Message: Merge with 2.5.22 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Makefile 12 Jan 2003 22:52:53 -0000 1.9 +++ Makefile 25 Jan 2003 00:33:31 -0000 1.10 @@ -5,13 +5,6 @@ # Rewritten to use lists instead of if-statements. # - -mod-subdirs := dio mtd sbus video macintosh usb input telephony sgi ide \ - message scsi md ieee1394 pnp isdn atm \ - fc4 i2c acpi bluetooth input/serio \ - input/gameport parport hotplug \ - base char block misc net media cdrom - obj-$(CONFIG_PCI) += pci/ obj-$(CONFIG_ACPI) += acpi/ obj-$(CONFIG_PARPORT) += parport/ |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:36
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-i386 In directory sc8-pr-cvs1:/tmp/cvs-serv15380/include/asm-i386 Removed Files: locks.h Log Message: Merge with 2.5.22 --- locks.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:36
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/scsi In directory sc8-pr-cvs1:/tmp/cvs-serv15380/drivers/scsi Modified Files: Makefile scsi_ioctl.c scsi_merge.c Removed Files: constants.h Log Message: Merge with 2.5.22 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/scsi/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Makefile 12 Jan 2003 22:52:53 -0000 1.7 +++ Makefile 25 Jan 2003 00:33:32 -0000 1.8 @@ -19,8 +19,6 @@ CFLAGS_seagate.o = -DARBITRATE -DPARITY -DSEAGATE_USE_ASM export-objs := scsi_syms.o 53c700.o -mod-subdirs := pcmcia ../acorn/scsi - subdir-$(CONFIG_PCMCIA) += pcmcia Index: scsi_ioctl.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/scsi/scsi_ioctl.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- scsi_ioctl.c 5 Jun 2002 21:55:04 -0000 1.4 +++ scsi_ioctl.c 25 Jan 2003 00:33:32 -0000 1.5 @@ -127,7 +127,7 @@ /* gag this error, VFS will log it anyway /axboe */ /* printk(KERN_INFO "Disc change detected.\n"); */ break; - }; + } default: /* Fall through for non-removable media */ printk("SCSI error: host %d id %d lun %d return code = %x\n", dev->host->host_no, @@ -139,7 +139,7 @@ sense_error(SRpnt->sr_sense_buffer[0]), SRpnt->sr_sense_buffer[2] & 0xf); - }; + } result = SRpnt->sr_result; @@ -152,7 +152,7 @@ } /* - * This interface is depreciated - users should use the scsi generic (sg) + * This interface is deprecated - users should use the scsi generic (sg) * interface instead, as this is a more flexible approach to performing * generic SCSI commands on a device. * @@ -523,22 +523,3 @@ set_fs(oldfs); return tmp; } - -/* - * Overrides for Emacs so that we almost follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-indent-level: 4 - * c-brace-imaginary-offset: 0 - * c-brace-offset: -4 - * c-argdecl-indent: 4 - * c-label-offset: -4 - * c-continued-statement-offset: 4 - * c-continued-brace-offset: 0 - * indent-tabs-mode: nil - * tab-width: 8 - * End: - */ Index: scsi_merge.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/scsi/scsi_merge.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- scsi_merge.c 31 Dec 2002 22:37:18 -0000 1.6 +++ scsi_merge.c 25 Jan 2003 00:33:32 -0000 1.7 @@ -42,7 +42,6 @@ #include "scsi.h" #include "hosts.h" -#include "constants.h" #include <scsi/scsi_ioctl.h> /* --- constants.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:36
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-cris In directory sc8-pr-cvs1:/tmp/cvs-serv15380/include/asm-cris Removed Files: locks.h Log Message: Merge with 2.5.22 --- locks.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:35
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/arm/mm In directory sc8-pr-cvs1:/tmp/cvs-serv15380/arch/arm/mm Removed Files: proc-arm2,3.S proc-arm6,7.S Log Message: Merge with 2.5.22 ***** Bogus filespec: proc-arm2,3.S,1.1.1.5,NONE ***** Bogus filespec: proc-arm6,7.S,1.1.1.5,NONE |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:35
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/x86_64/lib In directory sc8-pr-cvs1:/tmp/cvs-serv15380/arch/x86_64/lib Removed Files: checksum_copy.S generic-checksum.c mmx.c rwsem_thunk.S Log Message: Merge with 2.5.22 --- checksum_copy.S DELETED --- --- generic-checksum.c DELETED --- --- mmx.c DELETED --- --- rwsem_thunk.S DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:35
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/char In directory sc8-pr-cvs1:/tmp/cvs-serv15380/drivers/char Modified Files: Makefile Log Message: Merge with 2.5.22 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/char/Makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Makefile 23 Jan 2003 22:59:14 -0000 1.12 +++ Makefile 25 Jan 2003 00:33:32 -0000 1.13 @@ -17,8 +17,6 @@ sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o \ ip2main.o -mod-subdirs := ftape drm pcmcia - KEYMAP =defkeymap.o KEYBD =pc_keyb.o CONSOLE =console.o |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:35
|
Update of /cvsroot/linux-vax/kernel-2.5 In directory sc8-pr-cvs1:/tmp/cvs-serv15380 Modified Files: Makefile Rules.make Log Message: Merge with 2.5.22 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Makefile,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- Makefile 24 Jan 2003 00:46:48 -0000 1.27 +++ Makefile 25 Jan 2003 00:33:31 -0000 1.28 @@ -1,6 +1,6 @@ VERSION = 2 PATCHLEVEL = 5 -SUBLEVEL = 21 +SUBLEVEL = 22 EXTRAVERSION = # We are using a recursive build, so we need to do a little thinking @@ -122,7 +122,9 @@ noconfig_targets := xconfig menuconfig config oldconfig randconfig \ defconfig allyesconfig allnoconfig allmodconfig \ - clean mrproper distclean + clean mrproper distclean \ + tags TAGS sgmldocs psdocs pdfdocs htmldocs \ + checkconfig checkhelp checkincludes ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) @@ -222,10 +224,10 @@ define rule_link_vmlinux set -e - echo Generating build number + echo ' Generating build number' . scripts/mkversion > .tmpversion mv -f .tmpversion .version - $(MAKE) -C init + +$(MAKE) -C init $(call cmd,cmd_link_vmlinux) $(cmd_link_vmlinux) echo 'cmd_$@ := $(cmd_link_vmlinux)' > $(@D)/.$(@F).cmd @@ -243,14 +245,14 @@ # Handle descending into subdirectories listed in $(SUBDIRS) .PHONY: $(SUBDIRS) -$(SUBDIRS): .hdepend prepare include/config/MARKER +$(SUBDIRS): .hdepend prepare @$(MAKE) -C $@ # Things we need done before we descend to build or make # module versions are listed in "prepare" .PHONY: prepare -prepare: include/linux/version.h include/asm +prepare: include/linux/version.h include/asm include/config/MARKER # Single targets # --------------------------------------------------------------------------- @@ -273,13 +275,13 @@ # before switching between archs anyway. include/asm: - @echo 'Making asm->asm-$(ARCH) symlink' + @echo ' Making asm->asm-$(ARCH) symlink' @ln -s asm-$(ARCH) $@ # Split autoconf.h into include/linux/config/* include/config/MARKER: scripts/split-include include/linux/autoconf.h - @echo 'Splitting include/linux/autoconf.h -> include/config' + @echo ' SPLIT include/linux/autoconf.h -> include/config/*' @scripts/split-include include/linux/autoconf.h include/config @touch $@ @@ -306,7 +308,7 @@ echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \ exit 1; \ fi; - @echo -n 'Generating $@' + @echo -n ' Generating $@' @(echo \#define UTS_RELEASE \"$(KERNELRELEASE)\"; \ echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)`; \ echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; \ @@ -349,11 +351,11 @@ include/linux/modversions.h: scripts/fixdep prepare FORCE @rm -rf .tmp_export-objs @$(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) - @echo -n 'Generating $@' + @echo -n ' Generating $@' @( echo "#ifndef _LINUX_MODVERSIONS_H";\ echo "#define _LINUX_MODVERSIONS_H"; \ echo "#include <linux/modsetver.h>"; \ - for f in `cd .tmp_export-objs; find modules -name \*.ver -print`; do \ + for f in `cd .tmp_export-objs; find modules -name \*.ver -print | sort`; do \ echo "#include <linux/$${f}>"; \ done; \ echo "#endif"; \ @@ -431,44 +433,9 @@ endif # CONFIG_MODULES -# Scripts to check various things for consistency -# --------------------------------------------------------------------------- - -checkconfig: - find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkconfig.pl - -checkhelp: - find * -name [cC]onfig.in -print | sort | xargs $(PERL) -w scripts/checkhelp.pl - -checkincludes: - find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkincludes.pl - -# Generate tags for editors -# --------------------------------------------------------------------------- - -TAGS: FORCE - { find include/asm-${ARCH} -name '*.h' -print ; \ - find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print ; \ - find $(SUBDIRS) init arch/${ARCH} -name '*.[chS]' ; } | grep -v SCCS | etags - - -# Exuberant ctags works better with -I -tags: FORCE - CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \ - ctags $$CTAGSF `find include/asm-$(ARCH) -name '*.h'` && \ - find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs ctags $$CTAGSF -a && \ - find $(SUBDIRS) init -name '*.[ch]' | xargs ctags $$CTAGSF -a - -# Assorted miscellaneous targets +# RPM target # --------------------------------------------------------------------------- -# Documentation targets - -sgmldocs psdocs pdfdocs htmldocs: - @$(MAKE) -C Documentation/DocBook $@ - - -# RPM target -# # If you do a make spec before packing the tarball you can rpm -ta it spec: @@ -574,9 +541,8 @@ # files removed with 'make clean' CLEAN_FILES += \ - kernel/ksyms.lst include/linux/compile.h \ + include/linux/compile.h \ vmlinux System.map \ - .tmp* \ drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c \ drivers/char/conmakehash \ drivers/char/drm/*-mod.c \ @@ -616,9 +582,11 @@ .hdepend scripts/split-include scripts/docproc \ scripts/fixdep $(TOPDIR)/include/linux/modversions.h \ tags TAGS kernel.spec \ + .tmpversion # directories removed with 'make mrproper' MRPROPER_DIRS += \ + .tmp_export-objs \ include/config \ $(TOPDIR)/include/linux/modules @@ -631,7 +599,7 @@ @find . \( -name \*.[oas] -o -name core -o -name .\*.cmd -o \ -name .\*.tmp -o -name .\*.d \) -type f -print \ | grep -v lxdialog/ | xargs rm -f - @rm -rf $(CLEAN_FILES) + @rm -f $(CLEAN_FILES) @$(MAKE) -C Documentation/DocBook clean mrproper: clean archmrproper @@ -649,7 +617,41 @@ -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -type f \ -print | xargs rm -f +# Generate tags for editors +# --------------------------------------------------------------------------- + +TAGS: FORCE + { find include/asm-${ARCH} -name '*.h' -print ; \ + find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print ; \ + find $(SUBDIRS) init arch/${ARCH} -name '*.[chS]' ; } | grep -v SCCS | etags - + +# Exuberant ctags works better with -I +tags: FORCE + CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \ + ctags $$CTAGSF `find include/asm-$(ARCH) -name '*.h'` && \ + find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs ctags $$CTAGSF -a && \ + find $(SUBDIRS) init -name '*.[ch]' | xargs ctags $$CTAGSF -a + +# Documentation targets +# --------------------------------------------------------------------------- + +sgmldocs psdocs pdfdocs htmldocs: + @$(MAKE) -C Documentation/DocBook $@ + + endif # ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) + +# Scripts to check various things for consistency +# --------------------------------------------------------------------------- + +checkconfig: + find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkconfig.pl + +checkhelp: + find * -name [cC]onfig.in -print | sort | xargs $(PERL) -w scripts/checkhelp.pl + +checkincludes: + find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkincludes.pl # FIXME Should go into a make.lib or something # =========================================================================== Index: Rules.make =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Rules.make,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Rules.make 23 Jan 2003 22:59:14 -0000 1.13 +++ Rules.make 25 Jan 2003 00:33:31 -0000 1.14 @@ -48,12 +48,9 @@ obj-y := $(patsubst %/, %/built-in.o, $(obj-y)) obj-m := $(filter-out %/, $(obj-m)) -# If a dir is selected in $(subdir-y) and also mentioned in $(mod-subdirs), -# add it to $(subdir-m) +# Subdirectories we need to descend into -both-m := $(filter $(mod-subdirs), $(subdir-y)) subdir-ym := $(sort $(subdir-y) $(subdir-m)) -subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-)) # export.o is never a composite object, since $(export-objs) has a # fixed meaning (== objects which EXPORT_SYMBOL()) @@ -85,8 +82,116 @@ real-objs-y := $(foreach m, $(filter-out $(subdir-obj-y), $(obj-y)), $(if $($(m:.o=-objs)),$($(m:.o=-objs)),$(m))) $(EXTRA_TARGETS) real-objs-m := $(foreach m, $(obj-m), $(if $($(m:.o=-objs)),$($(m:.o=-objs)),$(m))) -# Get things started. +# Only build module versions for files which are selected to be built +export-objs := $(filter $(export-objs),$(real-objs-y) $(real-objs-m)) + +# The temporary file to save gcc -MD generated dependencies must not +# contain a comma +depfile = $(subst $(comma),_,$(@D)/.$(@F).d) + +# We're called for one of three purposes: +# o fastdep: build module version files (.ver) for $(export-objs) in +# the current directory +# o modules_install: install the modules in the current directory +# o build: When no target is given, first_rule is the default and +# will build the built-in and modular objects in this dir +# (or a subset thereof, depending on $(KBUILD_MODULES),$(KBUILD_BUILTIN) +# When targets are given directly (like foo.o), we just build these +# targets (That happens when someone does make some/dir/foo.[ois]) + +ifeq ($(MAKECMDGOALS),fastdep) + +# =========================================================================== +# Module versions +# =========================================================================== + +ifeq ($(strip $(export-objs)),) + +# If we don't export any symbols in this dir, just descend +# --------------------------------------------------------------------------- + +fastdep: sub_dirs + @echo -n + +else + +# This sets version suffixes on exported symbols +# --------------------------------------------------------------------------- + +MODVERDIR := $(TOPDIR)/include/linux/modules/$(RELDIR) + +# +# Added the SMP separator to stop module accidents between uniprocessor +# and SMP Intel boxes - AC - from bits by Michael Chastain +# + +ifdef CONFIG_SMP + genksyms_smp_prefix := -p smp_ +else + genksyms_smp_prefix := +endif + +$(MODVERDIR)/$(real-objs-y:.o=.ver): modkern_cflags := $(CFLAGS_KERNEL) +$(MODVERDIR)/$(real-objs-m:.o=.ver): modkern_cflags := $(CFLAGS_MODULE) +$(MODVERDIR)/$(export-objs:.o=.ver): export_flags := -D__GENKSYMS__ + +c_flags = -Wp,-MD,$(depfile) $(CFLAGS) $(NOSTDINC_FLAGS) \ + $(modkern_cflags) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) \ + -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) \ + $(export_flags) + +# Our objects only depend on modversions.h, not on the individual .ver +# files (fix-dep filters them), so touch modversions.h if any of the .ver +# files changes + +quiet_cmd_cc_ver_c = MKVER include/linux/modules/$(RELDIR)/$*.ver +define cmd_cc_ver_c + mkdir -p $(dir $@); \ + $(CPP) $(c_flags) $< | $(GENKSYMS) $(genksyms_smp_prefix) \ + -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@.tmp; \ + if [ ! -r $@ ] || cmp -s $@ $@.tmp; then \ + touch $(TOPDIR)/include/linux/modversions.h; \ + fi; \ + mv -f $@.tmp $@ +endef + +$(MODVERDIR)/%.ver: %.c FORCE + @$(call if_changed_dep,cc_ver_c) + +targets := $(addprefix $(MODVERDIR)/,$(export-objs:.o=.ver)) + +fastdep: $(targets) sub_dirs + @mkdir -p $(TOPDIR)/.tmp_export-objs/modules/$(RELDIR) + @touch $(addprefix $(TOPDIR)/.tmp_export-objs/modules/$(RELDIR)/,$(export-objs:.o=.ver)) + +endif # export-objs + +else # ! fastdep +ifeq ($(MAKECMDGOALS),modules_install) + +# ========================================================================== +# Installing modules +# ========================================================================== + +.PHONY: modules_install + +modules_install: sub_dirs +ifneq ($(obj-m),) + @echo Installing modules in $(MODLIB)/kernel/$(RELDIR) + @mkdir -p $(MODLIB)/kernel/$(RELDIR) + @cp $(obj-m) $(MODLIB)/kernel/$(RELDIR) +else + @echo -n +endif + +else # ! modules_install + # ========================================================================== +# Building +# ========================================================================== + +# If a Makefile does define neither O_TARGET nor L_TARGET, +# use a standard O_TARGET named "built-in.o" ifndef O_TARGET ifndef L_TARGET @@ -106,15 +211,9 @@ # Compile C sources (.c) # --------------------------------------------------------------------------- -# If we don't know if built-in or modular, assume built-in. -# Only happens in Makefiles which override the default first_rule: +# Default is built-in, unless we know otherwise modkern_cflags := $(CFLAGS_KERNEL) -$(real-objs-y) : modkern_cflags := $(CFLAGS_KERNEL) -$(real-objs-y:.o=.i) : modkern_cflags := $(CFLAGS_KERNEL) -$(real-objs-y:.o=.s) : modkern_cflags := $(CFLAGS_KERNEL) -$(real-objs-y:.o=.lst): modkern_cflags := $(CFLAGS_KERNEL) - $(real-objs-m) : modkern_cflags := $(CFLAGS_MODULE) $(real-objs-m:.o=.i) : modkern_cflags := $(CFLAGS_MODULE) $(real-objs-m:.o=.lst): modkern_cflags := $(CFLAGS_MODULE) @@ -124,60 +223,59 @@ $(export-objs:.o=.s) : export_flags := $(EXPORT_FLAGS) $(export-objs:.o=.lst): export_flags := $(EXPORT_FLAGS) -c_flags = $(CFLAGS) $(NOSTDINC_FLAGS) $(modkern_cflags) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(export_flags) +c_flags = -Wp,-MD,$(depfile) $(CFLAGS) $(NOSTDINC_FLAGS) \ + $(modkern_cflags) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) \ + -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) \ + $(export_flags) quiet_cmd_cc_s_c = CC $(RELDIR)/$@ cmd_cc_s_c = $(CC) $(c_flags) -S -o $@ $< %.s: %.c FORCE - $(call cmd,cmd_cc_s_c) + $(call if_changed_dep,cc_s_c) quiet_cmd_cc_i_c = CPP $(RELDIR)/$@ cmd_cc_i_c = $(CPP) $(c_flags) -o $@ $< %.i: %.c FORCE - $(call cmd,cmd_cc_i_c) + $(call if_changed_dep,cc_i_c) quiet_cmd_cc_o_c = CC $(RELDIR)/$@ -cmd_cc_o_c = $(CC) -Wp,-MD,.$(subst /,_,$@).d $(c_flags) $(listing_o_c) -c -o $@ $< +cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $< $(listing_o_c) %.o: %.c FORCE $(call if_changed_dep,cc_o_c) -quiet_cmd_cc_lst_c = Generating $(RELDIR)/$@ +quiet_cmd_cc_lst_c = ' Generating $(RELDIR)/$@' cmd_cc_lst_c = $(CC) $(c_flags) -g -c -o $*.o $< && $(TOPDIR)/scripts/makelst $*.o $(TOPDIR)/System.map $(OBJDUMP) > $@ %.lst: %.c FORCE - $(call cmd,cmd_cc_lst_c) + $(call if_changed_dep,cc_lst_c) # Compile assembler sources (.S) # --------------------------------------------------------------------------- -# FIXME (s.a.) modkern_aflags := $(AFLAGS_KERNEL) -$(real-objs-y) : modkern_aflags := $(AFLAGS_KERNEL) -$(real-objs-y:.o=.s): modkern_aflags := $(AFLAGS_KERNEL) - $(real-objs-m) : modkern_aflags := $(AFLAGS_MODULE) $(real-objs-m:.o=.s): modkern_aflags := $(AFLAGS_MODULE) -a_flags = $(AFLAGS) $(NOSTDINC_FLAGS) $(modkern_aflags) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o) +a_flags = -Wp,-MD,$(depfile) $(AFLAGS) $(NOSTDINC_FLAGS) \ + $(modkern_aflags) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o) quiet_cmd_as_s_S = CPP $(RELDIR)/$@ cmd_as_s_S = $(CPP) $(a_flags) -o $@ $< %.s: %.S FORCE - $(call cmd,cmd_as_s_S) + $(call if_changed_dep,as_s_S) quiet_cmd_as_o_S = AS $(RELDIR)/$@ -cmd_as_o_S = $(CC) -Wp,-MD,.$(subst /,_,$@).d $(a_flags) -c -o $@ $< +cmd_as_o_S = $(CC) $(a_flags) -c -o $@ $< %.o: %.S FORCE $(call if_changed_dep,as_o_S) -# If a Makefile does define neither O_TARGET nor L_TARGET, -# use a standard O_TARGET named "built-in.o" +targets += $(real-objs-y) $(real-objs-m) $(EXTRA_TARGETS) $(MAKECMDGOALS) # Build the compiled-in targets # --------------------------------------------------------------------------- @@ -196,7 +294,9 @@ rm -f $@; $(AR) rcs $@) $(O_TARGET): $(obj-y) FORCE - $(call if_changed,cmd_link_o_target) + $(call if_changed,link_o_target) + +targets += $(O_TARGET) endif # O_TARGET # @@ -207,7 +307,9 @@ cmd_link_l_target = rm -f $@; $(AR) $(EXTRA_ARFLAGS) rcs $@ $(obj-y) $(L_TARGET): $(obj-y) FORCE - $(call if_changed,cmd_link_l_target) + $(call if_changed,link_l_target) + +targets += $(L_TARGET) endif # @@ -222,10 +324,12 @@ # but that's not so easy, so we rather make all composite objects depend # on the set of all their parts $(multi-used-y) : %.o: $(multi-objs-y) FORCE - $(call if_changed,cmd_link_multi) + $(call if_changed,link_multi) $(multi-used-m) : %.o: $(multi-objs-m) FORCE - $(call if_changed,cmd_link_multi) + $(call if_changed,link_multi) + +targets += $(multi-used-y) $(multi-used-m) # Compile programs on the host # =========================================================================== @@ -236,7 +340,8 @@ quiet_cmd_host_cc__c = HOSTCC $(RELDIR)/$@ cmd_host_cc__c = $(HOSTCC) -Wp,-MD,.$(subst /,_,$@).d \ - $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -o $@ $< + $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) \ + $(HOST_LOADLIBES) -o $@ $< $(host-progs-single): %: %.c FORCE $(call if_changed_dep,host_cc__c) @@ -253,51 +358,26 @@ $(HOST_LOADLIBES) $(host-progs-multi): %: $(host-progs-multi-objs) FORCE - $(call if_changed,cmd_host_cc__o) - - -# Descending when making module versions -# --------------------------------------------------------------------------- - -fastdep-list := $(addprefix _sfdep_,$(subdir-ymn)) + $(call if_changed,host_cc__o) -.PHONY: fastdep $(fastdep-list) +targets += $(host-progs-single) $(host-progs-multi-objs) $(host-progs-multi) -fastdep: $(fastdep-list) +endif # ! modules_install +endif # ! fastdep -$(fastdep-list): - @$(MAKE) -C $(patsubst _sfdep_%,%,$@) fastdep - -# Descending when building -# --------------------------------------------------------------------------- - -subdir-list := $(addprefix _subdir_,$(subdir-ym)) - -.PHONY: sub_dirs $(subdir-list) - -sub_dirs: $(subdir-list) - -$(subdir-list): - @$(MAKE) -C $(patsubst _subdir_%,%,$@) +# =========================================================================== +# Generic stuff +# =========================================================================== -# Descending and installing modules +# Descending # --------------------------------------------------------------------------- -modinst-list := $(addprefix _modinst_,$(subdir-ym)) +.PHONY: sub_dirs $(subdir-ym) -.PHONY: modules_install _modinst_ $(modinst-list) +sub_dirs: $(subdir-ym) -modules_install: $(modinst-list) -ifneq ($(obj-m),) - @echo Installing modules in $(MODLIB)/kernel/$(RELDIR) - @mkdir -p $(MODLIB)/kernel/$(RELDIR) - @cp $(obj-m) $(MODLIB)/kernel/$(RELDIR) -else - @echo -n -endif - -$(modinst-list): - @$(MAKE) -C $(patsubst _modinst_%,%,$@) modules_install +$(subdir-ym): + @$(MAKE) -C $@ $(MAKECMDGOALS) # Add FORCE to the prequisites of a target to force it to be always rebuilt. # --------------------------------------------------------------------------- @@ -307,62 +387,11 @@ FORCE: # -# This is useful for testing -# FIXME: really? -script: - $(SCRIPT) - -# # This sets version suffixes on exported symbols # Separate the object into "normal" objects and "exporting" objects # Exporting objects are: all objects that define symbol tables # -ifdef CONFIG_MODVERSIONS -ifneq "$(strip $(export-objs))" "" - -MODVERDIR := $(TOPDIR)/include/linux/modules/$(RELDIR) - -# -# Added the SMP separator to stop module accidents between uniprocessor -# and SMP Intel boxes - AC - from bits by Michael Chastain -# - -ifdef CONFIG_SMP - genksyms_smp_prefix := -p smp_ -else - genksyms_smp_prefix := -endif - -# We don't track dependencies for .ver files, so we FORCE to check -# them always (i.e. always at "make dep" time). - -quiet_cmd_create_ver = Creating include/linux/modules/$(RELDIR)/$*.ver -cmd_create_ver = $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -E -D__GENKSYMS__ $< | \ - $(GENKSYMS) $(genksyms_smp_prefix) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@.tmp - -$(MODVERDIR)/%.ver: %.c FORCE - @mkdir -p $(dir $@) - @$(call cmd,cmd_create_ver) - @if [ -r $@ ] && cmp -s $@ $@.tmp; then \ - rm -f $@.tmp; \ - else \ - touch $(TOPDIR)/include/linux/modversions.h; \ - mv -f $@.tmp $@; \ - fi - -# updates .ver files but not modversions.h -fastdep: $(addprefix $(MODVERDIR)/,$(export-objs:.o=.ver)) -ifneq ($(export-objs),) - @mkdir -p $(TOPDIR)/.tmp_export-objs/modules/$(RELDIR) - @touch $(addprefix $(TOPDIR)/.tmp_export-objs/modules/$(RELDIR)/,$(export-objs:.o=.ver)) -endif - - -endif # export-objs - -endif # CONFIG_MODVERSIONS - # --------------------------------------------------------------------------- # Check if command line has changed @@ -394,9 +423,14 @@ # which is saved in .<target>.o, to the current command line using # the two filter-out commands) -# read all saved command lines and dependencies +# Read all saved command lines and dependencies for the $(targets) we +# may be building above, using $(if_changed{,_dep}). As an +# optimization, we don't need to read them if the target does not +# exist, we will rebuild anyway in that case. + +targets := $(wildcard $(sort $(targets))) +cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd)) -cmd_files := $(wildcard .*.cmd) ifneq ($(cmd_files),) include $(cmd_files) endif @@ -404,9 +438,12 @@ # function to only execute the passed command if necessary if_changed = $(if $(strip $? \ - $(filter-out $($(1)),$(cmd_$(@F)))\ - $(filter-out $(cmd_$(@F)),$($(1)))),\ - @$(if $($(quiet)$(1)),echo ' $($(quiet)$(1))' &&) $($(1)) && echo 'cmd_$@ := $($(1))' > $(@D)/.$(@F).cmd) + $(filter-out $(cmd_$(1)),$(cmd_$@))\ + $(filter-out $(cmd_$@),$(cmd_$(1)))),\ + @set -e; \ + $(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))';) \ + $(cmd_$(1)); \ + echo 'cmd_$@ := $(cmd_$(1))' > $(@D)/.$(@F).cmd) # execute the command and also postprocess generated .d dependencies @@ -418,9 +455,9 @@ @set -e; \ $(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))';) \ $(cmd_$(1)); \ - $(TOPDIR)/scripts/fixdep $(subst /,_,$@) $(TOPDIR) '$(cmd_$(1))' > .$(subst /,_,$@).tmp; \ - rm -f .$(subst /,_,$@).d; \ - mv -f .$(subst /,_,$@).tmp .$(subst /,_,$@).cmd ) + $(TOPDIR)/scripts/fixdep $(depfile) $@ $(TOPDIR) '$(cmd_$(1))' > $(@D)/.$(@F).tmp; \ + rm -f $(depfile); \ + mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd) # If quiet is set, only print short version of command |
From: Kenn H. <ke...@us...> - 2003-01-25 00:33:34
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/x86_64/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv15380/arch/x86_64/kernel Removed Files: pci-irq.c pci-pc.c pci-x86_64.c pci-x86_64.h Log Message: Merge with 2.5.22 --- pci-irq.c DELETED --- --- pci-pc.c DELETED --- --- pci-x86_64.c DELETED --- --- pci-x86_64.h DELETED --- |
From: Kenn H. <ke...@us...> - 2003-01-24 00:46:51
|
Update of /cvsroot/linux-vax/kernel-2.5 In directory sc8-pr-cvs1:/tmp/cvs-serv20538 Modified Files: Makefile README.cvs-tags Log Message: Won't be doing a kh20030124 release - post-2_5_21-import was broken, so I'll fix and re-tag that instead Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Makefile,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Makefile 24 Jan 2003 00:34:48 -0000 1.26 +++ Makefile 24 Jan 2003 00:46:48 -0000 1.27 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 5 SUBLEVEL = 21 -EXTRAVERSION = -kh20030124 +EXTRAVERSION = # We are using a recursive build, so we need to do a little thinking # to get the ordering right. Index: README.cvs-tags =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/README.cvs-tags,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- README.cvs-tags 24 Jan 2003 00:34:48 -0000 1.3 +++ README.cvs-tags 24 Jan 2003 00:46:48 -0000 1.4 @@ -32,14 +32,6 @@ processor registers. Boots to user mode on a KA42 with NFS root and no SCSI (NCR5380 driver is broken). - kh-20030124 Merged up as far as official 2.5.21 kernel. - Changes to compiler options. We're now using exact - same compiler options as official kernel, except we - use -O1 rather than -O2. (Something in vaxlance.c - or networking breaks with -O2 - BOOTP packets - appear on the write too short.) Boots to user mode - on a KA46, with NFS root. - Branch: linux-2_5 Vendor branch for official Linus kernels This branch is a "vendor" branch in CVS terminology. We use it to hold |
From: Kenn H. <ke...@us...> - 2003-01-24 00:34:51
|
Update of /cvsroot/linux-vax/kernel-2.5 In directory sc8-pr-cvs1:/tmp/cvs-serv13588 Modified Files: Makefile README.cvs-tags Log Message: Get ready to tag a kh20030124 release Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Makefile,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- Makefile 23 Jan 2003 22:59:14 -0000 1.25 +++ Makefile 24 Jan 2003 00:34:48 -0000 1.26 @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 5 SUBLEVEL = 21 -EXTRAVERSION = +EXTRAVERSION = -kh20030124 # We are using a recursive build, so we need to do a little thinking # to get the ordering right. Index: README.cvs-tags =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/README.cvs-tags,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- README.cvs-tags 29 Sep 2002 19:37:59 -0000 1.2 +++ README.cvs-tags 24 Jan 2003 00:34:48 -0000 1.3 @@ -32,6 +32,14 @@ processor registers. Boots to user mode on a KA42 with NFS root and no SCSI (NCR5380 driver is broken). + kh-20030124 Merged up as far as official 2.5.21 kernel. + Changes to compiler options. We're now using exact + same compiler options as official kernel, except we + use -O1 rather than -O2. (Something in vaxlance.c + or networking breaks with -O2 - BOOTP packets + appear on the write too short.) Boots to user mode + on a KA46, with NFS root. + Branch: linux-2_5 Vendor branch for official Linus kernels This branch is a "vendor" branch in CVS terminology. We use it to hold |