]> git.hungrycats.org Git - linux/log
linux
23 years agoLinux version 2.5.24 v2.5.24
Linus Torvalds [Thu, 20 Jun 2002 08:28:06 +0000 (01:28 -0700)]
Linux version 2.5.24

23 years agoFix up various odds and ends after big merges..
Linus Torvalds [Thu, 20 Jun 2002 07:55:40 +0000 (00:55 -0700)]
Fix up various odds and ends after big merges..

23 years ago[PATCH] Another RAID-5 XOR assembly fix
Andi Kleen [Thu, 20 Jun 2002 07:25:01 +0000 (00:25 -0700)]
[PATCH] Another RAID-5 XOR assembly fix

The last changes did trigger another latent bug in the inline assembly.
akpm noticed it because he compiles his kernels with frame pointers.

23 years agoMerge http://gkernel.bkbits.net/irda-2.5
Linus Torvalds [Thu, 20 Jun 2002 07:24:10 +0000 (00:24 -0700)]
Merge http://gkernel.bkbits.net/irda-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] uninline elv_next_request()
Jens Axboe [Thu, 20 Jun 2002 07:05:46 +0000 (00:05 -0700)]
[PATCH] uninline elv_next_request()

Uninline elv_next_request() and move it to elevator.c, where it belongs.
Because of CURRENT declaration, this actually saves lots of space.  From
Andrew.

23 years ago[PATCH] namespace.c - compiler warning
Robert Kuebel [Thu, 20 Jun 2002 06:54:52 +0000 (23:54 -0700)]
[PATCH] namespace.c - compiler warning

init_rootfs() (from ramfs) doesn't appear in any header file.  I didn't
see any that looked like a good home, so lets put a prototype at the top
of fs/namespace.c.  This only use of this function is in namespace.c.

23 years ago[PATCH] 3c509.c - 2_2
Robert Kuebel [Thu, 20 Jun 2002 06:54:37 +0000 (23:54 -0700)]
[PATCH] 3c509.c - 2_2

This patch makes sure the 3c509 module license is always GPL.  Currently
the MODULE_LICENSE() marco is only used when CONFIG_ISAPNP or
CONFIG_ISAPNP_MODULE is defined.  I have moved MODULE_LICENSE() to the
#ifdef MODULE section at the bottom of 3c509.c.

Same is true for the MODULE_DEVICE_TABLE() macro.

23 years ago[PATCH] remove unnecessary parentheses from expand()
William Lee Irwin III [Thu, 20 Jun 2002 06:54:23 +0000 (23:54 -0700)]
[PATCH] remove unnecessary parentheses from expand()

Not sure why I forgot to do this, but here is a small bit of tidying up
of some leftover parentheses from the memlist macro removal. The
parentheses are just noise and should go.

23 years ago[PATCH] remove unnecessary headers from mm_page_alloc.c
William Lee Irwin III [Thu, 20 Jun 2002 06:54:08 +0000 (23:54 -0700)]
[PATCH] remove unnecessary headers from mm_page_alloc.c

page_alloc.c does not use either slab.h or swapctl.h. This removes the
inclusion of those headers from page_alloc.c

23 years ago[PATCH] beautify nr_free_pages()
William Lee Irwin III [Thu, 20 Jun 2002 06:53:53 +0000 (23:53 -0700)]
[PATCH] beautify nr_free_pages()

nr_free_pages() is overly verbose. The following is perhaps clearer and
gets to the point with fewer lines of code and inside of 80 columns.

23 years ago[PATCH] Re: convert BAD_RANGE() to an inline function
William Lee Irwin III [Thu, 20 Jun 2002 06:53:38 +0000 (23:53 -0700)]
[PATCH] Re: convert BAD_RANGE() to an inline function

23 years ago[PATCH] Re: TRIVIAL: William Lee Irwin III: buddy system comment
William Lee Irwin III [Thu, 20 Jun 2002 06:53:26 +0000 (23:53 -0700)]
[PATCH] Re: TRIVIAL: William Lee Irwin III: buddy system comment

23 years ago[PATCH] Consolidate sys_pause
Stephen Rothwell [Thu, 20 Jun 2002 06:53:13 +0000 (23:53 -0700)]
[PATCH] Consolidate sys_pause

14 of our 17 architectures define sys_pause exactly the same
way.  The other three don't define it at all.  I assume glibc
translates pause() into sigsuspend() or something.

23 years ago[PATCH] Trivial TAP_TUN patch to remove minmax macros
Rusty Russell [Thu, 20 Jun 2002 06:52:57 +0000 (23:52 -0700)]
[PATCH] Trivial TAP_TUN patch to remove minmax macros

In favour of those now in kernel.h..

23 years ago[PATCH] trivial: reiserfs whitespace
Rusty Russell [Thu, 20 Jun 2002 06:52:44 +0000 (23:52 -0700)]
[PATCH] trivial: reiserfs whitespace

23 years ago[PATCH] Typo in radeonfb.c printk()
James Mayer [Thu, 20 Jun 2002 06:52:31 +0000 (23:52 -0700)]
[PATCH] Typo in radeonfb.c printk()

23 years ago[PATCH] typo in smt.h
James Mayer [Thu, 20 Jun 2002 06:52:17 +0000 (23:52 -0700)]
[PATCH] typo in smt.h

23 years ago[PATCH] typo in jazz_esp.c
James Mayer [Thu, 20 Jun 2002 06:52:03 +0000 (23:52 -0700)]
[PATCH] typo in jazz_esp.c

23 years ago[PATCH] PATCH: kconfig wrong arch symbols
Greg Banks [Thu, 20 Jun 2002 06:51:51 +0000 (23:51 -0700)]
[PATCH] PATCH: kconfig wrong arch symbols

Three arch-determining symbols in drivers/mtd/maps/Config.in are wrong.
They have apparently been generated using the sensible pattern "CONFIG_FOO"
for an architecture "foo"; unfortunately the architectures are not sensible.

  CONFIG_SPARC should be CONFIG_SPARC32
  CONFIG_I386 should be CONFIG_X86
  CONFIG_SH should be CONFIG_SUPERH

23 years ago[PATCH] PATCH: kconfig unbalanced menu start
Greg Banks [Thu, 20 Jun 2002 06:51:36 +0000 (23:51 -0700)]
[PATCH] PATCH: kconfig unbalanced menu start

Removed a spurious menu definition which was both a duplicate and
had no matching "endmenu".

23 years ago[PATCH] PATCH: kconfig unbalanced menu end
Greg Banks [Thu, 20 Jun 2002 06:51:21 +0000 (23:51 -0700)]
[PATCH] PATCH: kconfig unbalanced menu end

Removed an "endmenu" for which there was no opening "mainmenu_option".

23 years ago[PATCH] PATCH: kconfig spurious shell metacharacters (1_2)
Greg Banks [Thu, 20 Jun 2002 06:51:07 +0000 (23:51 -0700)]
[PATCH] PATCH: kconfig spurious shell metacharacters (1_2)

The config language is *not* shell.  The construct "[ foo ] || [ bar ]"
is legal in shell but not in the config language, where we should use
the equivalent "[ foo -o bar ]"

23 years ago[PATCH] PATCH: kconfig choice defaults (2_2)
Greg Banks [Thu, 20 Jun 2002 06:50:53 +0000 (23:50 -0700)]
[PATCH] PATCH: kconfig choice defaults (2_2)

The format for the "choice" statement is:

  choice 'prompt' "{sub-prompt sub-symbol}*" default-value

and the following is *not* legal config language (note the
positioning of the closing double quote):

  choice 'prompt' "{sub-prompt sub-symbol}* default-value"

It only happens to work because of a combination of accidental
side effects of the current parsers:

  *   unpaired sub-words inside the 2nd word are silently ignored
  *   the missing last word is silently treated as if empty

23 years ago[PATCH] PATCH: kconfig misspelled symbols
Greg Banks [Thu, 20 Jun 2002 06:50:39 +0000 (23:50 -0700)]
[PATCH] PATCH: kconfig misspelled symbols

Two symbols used in drivers/net/wan/Config.in are misspelled.

CONFIG_PPP_MULTLINK should be CONFIG_PPP_MULTILINK
CONFIG_PPP_SYNCTTY should be CONFIG_PPP_SYNC_TTY

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (9_16)
Greg Banks [Thu, 20 Jun 2002 06:50:25 +0000 (23:50 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (9_16)

1/2 definitions of CONFIG_PC_KEYB have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (8_16)
Greg Banks [Thu, 20 Jun 2002 06:50:12 +0000 (23:50 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (8_16)

1/3 definitions of CONFIG_PARPORT_1284 have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (7_16)
Greg Banks [Thu, 20 Jun 2002 06:49:57 +0000 (23:49 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (7_16)

1/2 definitions of CONFIG_NUMA have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (6_16)
Greg Banks [Thu, 20 Jun 2002 06:49:43 +0000 (23:49 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (6_16)

1/16 definitions of CONFIG_NETDEVICES have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (5_16)
Greg Banks [Thu, 20 Jun 2002 06:49:28 +0000 (23:49 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (5_16)

1/3 definitions of CONFIG_MODVERSIONS have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (4_16)
Greg Banks [Thu, 20 Jun 2002 06:49:16 +0000 (23:49 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (4_16)

1/11 definitions of CONFIG_HOTPLUG have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (3_16)
Greg Banks [Thu, 20 Jun 2002 06:49:01 +0000 (23:49 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (3_16)

2/10 definitions of CONFIG_CD_NO_IDESCSI have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (1_16)
Greg Banks [Thu, 20 Jun 2002 06:48:46 +0000 (23:48 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (1_16)

1/3 definitions of 64-bit CONFIG_BINFMT_ELF have trivially different banners.
1/3 definitions of CONFIG_BINFMT_ELF32 have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (14_16)
Greg Banks [Thu, 20 Jun 2002 06:48:29 +0000 (23:48 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (14_16)

1/17 definitions of CONFIG_SCSI have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (16_16)
Greg Banks [Thu, 20 Jun 2002 06:48:14 +0000 (23:48 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (16_16)

1/14 definitions of CONFIG_SOUND have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (15_16)
Greg Banks [Thu, 20 Jun 2002 06:48:02 +0000 (23:48 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (15_16)

2/4 definitions of CONFIG_SOFT_WATCHDOG have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (13_16)
Greg Banks [Thu, 20 Jun 2002 06:47:49 +0000 (23:47 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (13_16)

1/3 definitions of CONFIG_PSMOUSE have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (11_16)
Greg Banks [Thu, 20 Jun 2002 06:47:35 +0000 (23:47 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (11_16)

1/3 definitions of CONFIG_PPP have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners (10_16)
Greg Banks [Thu, 20 Jun 2002 06:47:23 +0000 (23:47 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners (10_16)

2/6 definitions of CONFIG_PCI have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig sychronise banners (2_16)
Greg Banks [Thu, 20 Jun 2002 06:47:09 +0000 (23:47 -0700)]
[PATCH] PATCH 2.5: kconfig sychronise banners (2_16)

2/5 definitions of CONFIG_BLK_DEV_SR have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig sychronise banners (12_16)
Greg Banks [Thu, 20 Jun 2002 06:46:55 +0000 (23:46 -0700)]
[PATCH] PATCH 2.5: kconfig sychronise banners (12_16)

1/5 definitions of CONFIG_PREEMPT have trivially different banners.

23 years ago[PATCH] PATCH 2.5: kconfig missing OBSOLETE (3_3)
Greg Banks [Thu, 20 Jun 2002 06:46:43 +0000 (23:46 -0700)]
[PATCH] PATCH 2.5: kconfig missing OBSOLETE (3_3)

Symbol CONFIG_SK_G16 depends on CONFIG_OBSOLETE but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing OBSOLETE (2_3) again
Greg Banks [Thu, 20 Jun 2002 06:46:29 +0000 (23:46 -0700)]
[PATCH] PATCH 2.5: kconfig missing OBSOLETE (2_3) again

Symbol CONFIG_H8 depends on CONFIG_OBSOLETE but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing OBSOLETE (1_3)
Greg Banks [Thu, 20 Jun 2002 06:46:15 +0000 (23:46 -0700)]
[PATCH] PATCH 2.5: kconfig missing OBSOLETE (1_3)

Symbol CONFIG_FMV18X depends on CONFIG_OBSOLETE but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (9_14)
Greg Banks [Thu, 20 Jun 2002 06:46:03 +0000 (23:46 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (9_14)

Symbol CONFIG_LDM_PARTITION depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (8_14)
Greg Banks [Thu, 20 Jun 2002 06:45:49 +0000 (23:45 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (8_14)

Symbol CONFIG_JFFS2_FS_NAND depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (7_14)
Greg Banks [Thu, 20 Jun 2002 06:45:35 +0000 (23:45 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (7_14)

Symbol CONFIG_ISDN_DRV_TPAM depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (6_14)
Greg Banks [Thu, 20 Jun 2002 06:45:20 +0000 (23:45 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (6_14)

Three symbols CONFIG_BLK_DEV_ATARAID, CONFIG_BLK_DEV_ATARAID_PDC, and
CONFIG_BLK_DEV_ATARAID_HPT depend on CONFIG_EXPERIMENTAL but do
not say so in their banners.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (5_14)
Greg Banks [Thu, 20 Jun 2002 06:45:07 +0000 (23:45 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (5_14)

Two symbols CONFIG_PLX_HERMES and CONFIG_PCI_HERMES depend on
CONFIG_EXPERIMENTAL but do not say so in their banners.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (4_14)
Greg Banks [Thu, 20 Jun 2002 06:44:53 +0000 (23:44 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (4_14)

Symbol CONFIG_CYCLOMX_X25 depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (3_14)
Greg Banks [Thu, 20 Jun 2002 06:44:38 +0000 (23:44 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (3_14)

Symbol CONFIG_BLK_DEV_UMEM depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (2_14)
Greg Banks [Thu, 20 Jun 2002 06:44:26 +0000 (23:44 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (2_14)

Four symbols CONFIG_ATM_CLIP, CONFIG_ATM_CLIP_NO_ICMP, CONFIG_ATM_LANE,
and CONFIG_ATM_MPOA depend on CONFIG_EXPERIMENTAL but do not say so
in their banners.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (1_14)
Greg Banks [Thu, 20 Jun 2002 06:44:12 +0000 (23:44 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (1_14)

Symbol CONFIG_ADFS_FS depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (13_14)
Greg Banks [Thu, 20 Jun 2002 06:43:58 +0000 (23:43 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (13_14)

Symbol CONFIG_SOUND_RME96XX depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (14_14)
Greg Banks [Thu, 20 Jun 2002 06:43:44 +0000 (23:43 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (14_14)

Symbol CONFIG_VIDEO_MEYE depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (12_14)
Greg Banks [Thu, 20 Jun 2002 06:43:30 +0000 (23:43 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (12_14)

Symbol CONFIG_SONYPI depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (10_14)
Greg Banks [Thu, 20 Jun 2002 06:43:16 +0000 (23:43 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (10_14)

Symbol CONFIG_MIDI_EMU10K1 depends on CONFIG_EXPERIMENTAL but does
not say so in its banner.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (11_14)
Greg Banks [Thu, 20 Jun 2002 06:43:03 +0000 (23:43 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL (11_14)

Two symbols CONFIG_ROADRUNNER and CONFIG_ROADRUNNER_LARGE_RINGS depend
on CONFIG_EXPERIMENTAL but do not say so in their banners.

23 years ago[PATCH] PATCH 2.5: kconfig lowercase EXPERIMENTAL tag
Greg Banks [Thu, 20 Jun 2002 06:42:50 +0000 (23:42 -0700)]
[PATCH] PATCH 2.5: kconfig lowercase EXPERIMENTAL tag

The convention is that symbols that depend on $CONFIG_EXPERIMENTAL are
marked in the banner with the string (EXPERIMENTAL).  There are 4 cases
where that string is correctly used but is lowercase instead of uppercase.

23 years ago[PATCH] PATCH 2.5: kconfig choice default value
Greg Banks [Thu, 20 Jun 2002 06:42:36 +0000 (23:42 -0700)]
[PATCH] PATCH 2.5: kconfig choice default value

The default value specified as the last word of the "choice" statement
should be a unique abbreviation of one of the sub-prompts, not some
random string never seen before.

23 years ago[PATCH] PATCH 2.5: kconfig OBSOLETE not EXPERIMENTAL
Greg Banks [Thu, 20 Jun 2002 06:42:22 +0000 (23:42 -0700)]
[PATCH] PATCH 2.5: kconfig OBSOLETE not EXPERIMENTAL

Symbol CONFIG_ZNET depends on CONFIG_OBSOLETE, but its banner says it
depends on CONFIG_EXPERIMENTAL.

23 years ago[PATCH] PATCH 2.5: kconfig EXPERIMENTAL misformed
Greg Banks [Thu, 20 Jun 2002 06:42:08 +0000 (23:42 -0700)]
[PATCH] PATCH 2.5: kconfig EXPERIMENTAL misformed

Symbol CONFIG_INTERMEZZO_FS depends on CONFIG_EXPERIMENTAL but does
not say so in its banner in the usual way.

23 years ago[PATCH] Fix SMP compilation with 'multiquad' driver
Rusty Russell [Thu, 20 Jun 2002 06:41:54 +0000 (23:41 -0700)]
[PATCH] Fix SMP compilation with 'multiquad' driver

The 2.4.18pre10 kernel, like many if its predecessors, can't compile
the multiquad driver in an SMP kernel (maybe only as a module; it's
been a long time since I wrote this fix).  Here's a patch.

23 years ago[PATCH] fix lots of warnings about 'struct tty_driver'
Arnd Bergmann [Thu, 20 Jun 2002 06:41:41 +0000 (23:41 -0700)]
[PATCH] fix lots of warnings about 'struct tty_driver'

When compiling 2.5.20 (and ealier, likely) without procfs, the declaration
for struct tty_driver is missing in proc_fs.h, causing many compiler warnings
that are fixed by this patch.

23 years ago[PATCH] Re: nbd.c warning fix
Arnaud S. Launay [Thu, 20 Jun 2002 06:41:27 +0000 (23:41 -0700)]
[PATCH] Re: nbd.c warning fix

23 years ago[PATCH] ACPI warning fix
Arnaud S. Launay [Thu, 20 Jun 2002 06:41:12 +0000 (23:41 -0700)]
[PATCH] ACPI warning fix

23 years ago[PATCH] add unlikely() into add_timer()
Andrey Panin [Thu, 20 Jun 2002 06:41:00 +0000 (23:41 -0700)]
[PATCH] add unlikely() into add_timer()

This micropatch adds unlikely() macro into add_timer() bug check code.
Without this path gcc 3.1 makes bad thing reordering printk() into
the middle of function body.

23 years ago[PATCH] TRIVIAL EPERM -> EACCESS
Andreas Dilger [Thu, 20 Jun 2002 06:40:46 +0000 (23:40 -0700)]
[PATCH] TRIVIAL EPERM -> EACCESS

the following micro-patch changes ext[23]_ioctl to return EACCES
(permission denied) instead of EPERM (operation not permitted) if
the caller is not authorized to change the flags on a file.

23 years ago[PATCH] Fix bashisms in scripts_patch-kernel
Andreas Bombe [Thu, 20 Jun 2002 06:40:32 +0000 (23:40 -0700)]
[PATCH] Fix bashisms in scripts_patch-kernel

  The following trivial patch makes the patch-kernel script executable by
  a bare bone POSIX shell like ash.  Either that, or the interpreter line
  has to be changed to /bin/bash.

  The same patch applies to 2.4 (with some line offset).

23 years agoMerge home:v2.5/linux
Linus Torvalds [Thu, 20 Jun 2002 06:12:04 +0000 (23:12 -0700)]
Merge home:v2.5/linux
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] mark 3 variables as __initdata
Robert Love [Thu, 20 Jun 2002 06:07:45 +0000 (23:07 -0700)]
[PATCH] mark 3 variables as __initdata

The attached patch marks the following variables with __initdata:

        arch/i386/kernel/mpparse.c :: static unsigned int num_processors
        arch/i386/kernel/smpboot.c :: static int smp_b_stepping
        arch/i386/kernel/smpboot.c :: static int max_cpus

The data is static and only used by __init functions so can successfully
be jettisoned after boot.  Compiled and booted successfully on an SMP
machine.

I also set max_cpus to NR_CPUS instead of -1.  Besides being the
logically correct value and simplifying a loop elsewhere, this change
allows NR_CPUS to be set to various values other than the normal 32
which is growing in utility with the hotplug CPU changes now in
mainline.

23 years ago[PATCH] preempt-safe do_softirq
Robert Love [Thu, 20 Jun 2002 06:07:31 +0000 (23:07 -0700)]
[PATCH] preempt-safe do_softirq

Attached patch makes do_softirq preempt-safe simply by moving the
current CPU assignment a couple lines down below the interrupt disable.

23 years agoMerge bk://linus@bkbits.net/lm-makefiles
Linus Torvalds [Thu, 20 Jun 2002 06:06:46 +0000 (23:06 -0700)]
Merge bk://linus@bkbits.net/lm-makefiles
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] export ioremap_nocache to modules
Stelian Pop [Thu, 20 Jun 2002 06:06:24 +0000 (23:06 -0700)]
[PATCH] export ioremap_nocache to modules

This patch exports ioremap_nocache to modules, used by at least
some of the sound drivers....

23 years ago[PATCH] ALSA update
Jaroslav Kysela [Thu, 20 Jun 2002 06:03:30 +0000 (23:03 -0700)]
[PATCH] ALSA update

this ALSA update contains

 - fixed dependencies for OSS Sequencer emulation code
 - fixed wrong verbose printk output
 - fixed possible oops in OSS PCM emulation code (silence)
 - added snd_timer_del() function
 - added integer64 support to control interface
 - AC'97 - cleanups for Cirrus Logic codecs (S/PDIF)
 - added PCM device for SB AWE synthesizer
 - added RME Hammerfall DSP Audio driver by Paul Davis
 - renamed rme9652_mem.o module to hammerfall_mem.o
 - device naming cleanups in snd-intel8x0
 - RME32 driver updates
 - VIA8233 driver updates for VIA8233A
 - CS4281 code updated to support dual codecs
 - Korg1212 driver update (debugging)
 - YMFPCI - changed support for rear channel
 - improved PPC drivers - AWACS, KEYWEST, TUMBLER

23 years ago[PATCH] More __builtin_expect() cleanup in favour
Manik Raina [Thu, 20 Jun 2002 05:45:53 +0000 (22:45 -0700)]
[PATCH] More __builtin_expect() cleanup in favour

Changed files in the include/asm-ia64 directory to get rid of
__builtin_expect() in favour of likely/unlikely.

23 years ago[PATCH] ipv6 statics
Stephen Rothwell [Thu, 20 Jun 2002 05:43:30 +0000 (22:43 -0700)]
[PATCH] ipv6 statics

This makes some more things in the ipv6 code static.  Some of them may
be wrong (or for futures) bu it looks pretty OK to me (and it builds).

23 years ago[PATCH] Async Futex
Rusty Russell [Thu, 20 Jun 2002 05:42:08 +0000 (22:42 -0700)]
[PATCH] Async Futex

This patch adds a FUTEX_FD call, for opening a file descriptor
attached to a futex, which can be used with poll, select or SIGIO.
Rewritten so that closing fd unpins page, as per Linus's suggestion,
and fixed not to call poll_wait with a spinlock as per Martin Wirth's
sharp eyes.

23 years ago[PATCH] Futex bugfixes.
Rusty Russell [Thu, 20 Jun 2002 05:41:53 +0000 (22:41 -0700)]
[PATCH] Futex bugfixes.

This uses page_cache_release() instead of put_page(), as it might
be a pagecache page.

23 years ago[PATCH] 2.5.23 i2c updates 4/4
Albert Cranford [Thu, 20 Jun 2002 05:40:05 +0000 (22:40 -0700)]
[PATCH] 2.5.23 i2c updates 4/4

i2c-elektor.c:Adding call to pcf_isa_init to i2c_pcfisa_init causes:
i2c-elektor.o: In function `i2c_pcfisa_init':
i2c-elektor.o(.text.init+0x95): undefined reference to `local symbol
i2c-elektor.c: fix by removing __exit for inline compiling.

23 years ago[PATCH] 2.5.23 i2c updates 3/4
Albert Cranford [Thu, 20 Jun 2002 05:39:52 +0000 (22:39 -0700)]
[PATCH] 2.5.23 i2c updates 3/4

i2c-algo-bit.c: Leave kernel time_before/after_eq
  Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
  Remove #include <linux/sched.h> since i2c.h has it now.
i2c-algo-pcf.c: Remove #include <linux/sched.h> since i2c.h has it now.
  Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
  Remove #include <linux/sched.h> since i2c.h has it now.
i2c/i2c-elektor.c: Leave kernel __exit pcf_isa_exit(void)
  Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
i2c-elv.c: Leave kernel __exit bit_elv_exit(void)
  Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
i2c-philips-par.c: Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
i2c/i2c-velleman.c: Leave kernel __exit bit_velle_exit(void)
  Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
Drop i2c-algo-8xx.[ch] deltas
Drop i2c-algo-ppc405.[ch] deltas
Drop i2c-pcf-epp.c deltas
Drop i2c-ppc405.[ch] deltas
Drop i2c-ppc405adap.h deltas
Drop i2c-pport.c deltas
Drop i2c-rpx.c deltas

23 years ago[PATCH] 2.5.23 i2c updates 2/4
Albert Cranford [Thu, 20 Jun 2002 05:39:39 +0000 (22:39 -0700)]
[PATCH] 2.5.23 i2c updates 2/4

i2c-core.c:Leave LINUX_VERSION in kernel.  Leave i2c_debug=1.  Leave
  CONFIG names as in the kernel.  Remove #ifdef MODULE_LICENSE around
  MODULE_LICENSE.
i2c-dev.c:Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
  Remove compatibality code for < 2.4.0
i2c-proc.c: Print message on kmalloc failure.  Leave ENOMEM as in kernel.
  Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.  Remove 2.2.19 compat
  code.

23 years ago[PATCH] 2.5.23 i2c updates 1/4
Albert Cranford [Thu, 20 Jun 2002 05:39:26 +0000 (22:39 -0700)]
[PATCH] 2.5.23 i2c updates 1/4

23 years agoMerge master.kernel.org:/home/davem/BK/misc-2.5
Linus Torvalds [Thu, 20 Jun 2002 05:35:32 +0000 (22:35 -0700)]
Merge master.kernel.org:/home/davem/BK/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] 2.5.23: missing tqueue.h in cpia_pp.c
C. Scott Ananian [Thu, 20 Jun 2002 05:34:33 +0000 (22:34 -0700)]
[PATCH] 2.5.23: missing tqueue.h in cpia_pp.c

There seems to be another missing tqueue.h, this time in the CPIA video
driver.

23 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.5
Linus Torvalds [Thu, 20 Jun 2002 05:33:55 +0000 (22:33 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] ext2 statics
Stephen Rothwell [Thu, 20 Jun 2002 05:33:25 +0000 (22:33 -0700)]
[PATCH] ext2 statics

This patch just changes some things in ext2 to be static.

23 years ago[PATCH] dup_task_struct can be static
Stephen Rothwell [Thu, 20 Jun 2002 05:32:54 +0000 (22:32 -0700)]
[PATCH] dup_task_struct can be static

dup_task_struct is defined and used only in kernel/fork.c.

23 years ago[PATCH] make kstack_depth_to_print and some APM stuff static
Stephen Rothwell [Thu, 20 Jun 2002 05:25:59 +0000 (22:25 -0700)]
[PATCH] make kstack_depth_to_print and some APM stuff static

Tridge has written a little utility
(http://samba.org/ftp/unpacked/junkcode/findstatic.pl) that (given a set of
object files) works out a list of candidate finctions and variables that
may be able to be made static.  Obviously some hand checking is needed
(different configs and/or architectures etc), but it seems useful.

Here is my first patch using its outout.

kstack_depth_to_print is used in many architectures, but only in one
file in each.  In some architectures it is declared and not used.  It
is not even clear why kstack_depth_to_print is not a #define.  Tridge
suggested that maybe you could change its value with a debugger ...

The APM code has a function and a struct that can be static.

23 years ago[PATCH] nasty bug in free_pgtables() (for ia64)
David Mosberger [Thu, 20 Jun 2002 05:24:19 +0000 (22:24 -0700)]
[PATCH] nasty bug in free_pgtables() (for ia64)

Strictly speaking, this patch is needed only for arches which use
discontiguous virtual address bits for the PGD index.

When we originally worked on this code (~ 2 years ago or so, in
response to a bug report & patch from an Intel guy), I had myself
convinced that the code is correct, but of course I missed the fact
that:

pgd_index(first) < pgd_index(last)

does NOT imply that:

first < last

For example, with a 16KB page size on ia64, we might end up with:

   first = 6000100f80003fff => first_idx = 0x300
   last  = 60000fffffff8000 =>  last_idx = 0x3ff

Note here that first_idx < last_idx even though first > last.  This is
because pgd_index() ignores bits 44..60.

I suppose we could put the extra check inside #ifdef __ia64__, but
that would be rather ugly and would really mean that Linux does not
support discontiguous PGD indices.

23 years ago[PATCH] Make ITERATE_MDDEV work on non-SMP
Neil Brown [Thu, 20 Jun 2002 05:23:32 +0000 (22:23 -0700)]
[PATCH] Make ITERATE_MDDEV work on non-SMP

For an SMP kernel, spin_lock() et.al. are functions.
For a UP kernel, they are statements that must be terminated
by a ';'.  This is not quite the same thing, and hence spin_lock()
cannot be using inside a parenthesised expession.

This patch changes ITERATE_MDDEV to use gcc's "statement expressions"
instead which has the benefit of making the conditionals
more readable.

23 years ago[PATCH] Md sync: Remove compiler warning that revealed a bug.
Neil Brown [Thu, 20 Jun 2002 05:23:20 +0000 (22:23 -0700)]
[PATCH] Md sync: Remove compiler warning that revealed a bug.

When we abort a resync before we even started (because we were
interrupted while waiting for a conflicting resync to finish)
we should not wait or, particularly, do the closing sync_request
(as we haven't even calculated max_sectors yet).

23 years ago[PATCH] Don't lock array for START_ARRAY
Neil Brown [Thu, 20 Jun 2002 05:23:05 +0000 (22:23 -0700)]
[PATCH] Don't lock array for START_ARRAY

... as autostart_array does it's own locking.

 ----------- Diffstat output ------------
 ./drivers/md/md.c |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

23 years agoMerge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
Linus Torvalds [Thu, 20 Jun 2002 05:19:16 +0000 (22:19 -0700)]
Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] drivers/hotplug/cpqphp.h must include tqueue.h
Greg Kroah-Hartman [Thu, 20 Jun 2002 05:18:35 +0000 (22:18 -0700)]
[PATCH] drivers/hotplug/cpqphp.h must include tqueue.h

23 years ago[PATCH] udpated 3ware driver from vendor.
Dave Jones [Thu, 20 Jun 2002 05:15:50 +0000 (22:15 -0700)]
[PATCH] udpated 3ware driver from vendor.

23 years ago[PATCH] Fusion driver update
Pam Delaney [Thu, 20 Jun 2002 05:08:20 +0000 (22:08 -0700)]
[PATCH] Fusion driver update

This upgrades the fusion driver

 - Provides support for the Ultra320 1030/1020 parts
 - Provides support for the PCI-X FC parts (919X/929X)
 - Provides proper support for high memory cases
 - Provides IA64 support
 - Adds kernels calls (pci_enable_device, pci_set_dma_mask,
   scsi_set_pci_device) for proper registration of PCI devics.
 - Adds New Error Handling support

23 years ago[PATCH] Convert cm206 to a tasklet
Matthew Wilcox [Thu, 20 Jun 2002 05:02:14 +0000 (22:02 -0700)]
[PATCH] Convert cm206 to a tasklet

Removes CM206_BH (patch approved by maintainer).
Deletes the no-longer-used BH entries from the enum.  Explicit numbers
added so as not to destroy binary compatibility needlessly.

23 years agoMerge ssh://master.kernel.org//home/mingo/bk-sched/
Linus Torvalds [Thu, 20 Jun 2002 05:00:40 +0000 (22:00 -0700)]
Merge ssh://master.kernel.org//home/mingo/bk-sched/
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago- small UP optimisation from Mikael Pettersson and James Bottomley, modified.
Ingo Molnar [Thu, 20 Jun 2002 17:25:51 +0000 (19:25 +0200)]
- small UP optimisation from Mikael Pettersson and James Bottomley, modified.

23 years ago[PATCH] IDE 93
Martin Dalecki [Thu, 20 Jun 2002 04:59:43 +0000 (21:59 -0700)]
[PATCH] IDE 93

 - Revert patch number 92. It turned out to be broken behind hope.  Personally I
   attribute this to the recent heat wave over here and apologize for the
   problems this may have caused. Turned out that my note about the change
   beeing dnagerous in the last change log was more then true...

 - Locking issues for ioctl handling.

 - Remove waiting_for_dma bit field. Use IDE_DMA bit flag instead.
   Apply this bit globally and not in the corresponding implementation
   functions.