]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] out-of-line locks / x86_64
Zwane Mwaikambo [Sat, 4 Sep 2004 09:18:59 +0000 (02:18 -0700)]
[PATCH] out-of-line locks / x86_64

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] out-of-line locks / i386
Zwane Mwaikambo [Sat, 4 Sep 2004 09:18:47 +0000 (02:18 -0700)]
[PATCH] out-of-line locks / i386

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] out-of-line locks / arm
Zwane Mwaikambo [Sat, 4 Sep 2004 09:18:35 +0000 (02:18 -0700)]
[PATCH] out-of-line locks / arm

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] out-of-line locks / generic
Zwane Mwaikambo [Sat, 4 Sep 2004 09:18:26 +0000 (02:18 -0700)]
[PATCH] out-of-line locks / generic

This patch achieves out of line spinlocks by creating kernel/spinlock.c
and using the _raw_* inline locking functions.

Now, as much as this is supposed to be arch agnostic, there was still a
fair amount of rummaging about in archs, mostly for the cases where the
arch already has out of line locks and i wanted to avoid the extra call,
saving that extra call also makes lock profiling easier.  PPC32/64 was
an example of such an arch and i have added the necessary profile_pc()
function as an example.

Size differences are with CONFIG_PREEMPT enabled since we wanted to
determine how much could be saved by moving that lot out of line too.

ppc64 = 259897 bytes:
   text    data     bss     dec     hex filename
5489808 1962724  709064 8161596  7c893c vmlinux-after
5749577 1962852  709064 8421493  808075 vmlinux-before

sparc64 = 193368 bytes:
  text    data     bss     dec     hex filename
3472037  633712  308920 4414669  435ccd vmlinux-after
3665285  633832  308920 4608037  465025 vmlinux-before

i386 = 416075 bytes
   text    data     bss     dec     hex filename
5808371  867442  326864 7002677  6ada35 vmlinux-after
6221254  870634  326864 7418752  713380 vmlinux-before

x86-64 = 282446 bytes
   text    data     bss     dec     hex filename
4598025 1450644  523632 6572301  64490d vmlinux-after
4881679 1449436  523632 6854747  68985b vmlinux-before

It has been compile tested (UP, SMP, PREEMPT) on i386, x86-64, sparc,
sparc64, ppc64, ppc32 and runtime tested on i386, x86-64 and sparc64.

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fat: add static
Andries E. Brouwer [Sat, 4 Sep 2004 08:31:30 +0000 (01:31 -0700)]
[PATCH] fat: add static

In the long sequence of static additions, here some fat ones.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Fri, 3 Sep 2004 13:03:00 +0000 (06:03 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] fix media detection for nForce 2 nics
Manfred Spraul [Fri, 3 Sep 2004 18:16:14 +0000 (14:16 -0400)]
[PATCH] fix media detection for nForce 2 nics

attached is a patch that polls the media setting for non GigE nForce
nics:
Without polling, media changes are not autodetected. This is fatal,
because the nic initialization is asynchroneous, thus "modprobe;ifup"
resulted in a dead network connection. The attached patch fixes that
problem.

It's a repost of a patch I sent around three weeks ago: you objected
that I rely on the nic irq instead of a software timer. I've documented
why this is ok.

22 years ago[PATCH] airo build fix
Andrew Morton [Fri, 3 Sep 2004 18:14:54 +0000 (14:14 -0400)]
[PATCH] airo build fix

drivers/net/wireless/airo.c: In function `issuecommand':
drivers/net/wireless/airo.c:3812: warning: implicit declaration of function `kernel_locked'
*** Warning: "kernel_locked" [drivers/net/wireless/airo.ko] undefined!

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] wavelan uninitalised var.
Dave Jones [Fri, 3 Sep 2004 18:13:22 +0000 (14:13 -0400)]
[PATCH] wavelan uninitalised var.

This seems a little odd, printing out the value of a variable
we haven't read yet.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[PATCH] 3c527 possible oops.
Dave Jones [Fri, 3 Sep 2004 18:13:11 +0000 (14:13 -0400)]
[PATCH] 3c527 possible oops.

If the alloc_skb() fails, we dereference it in the skb_reserve() call.
Move the skb_reserve() call to after the NULL check.
Also clean up some CodingStyle violations whilst in the vicinity.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years agoMerge pobox.com:/spare/repo/linux-2.6
Jeff Garzik [Fri, 3 Sep 2004 18:12:00 +0000 (14:12 -0400)]
Merge pobox.com:/spare/repo/linux-2.6
into pobox.com:/spare/repo/net-drivers-2.6

22 years agoRemove extra tests from get_user_cpu_mask().
Linus Torvalds [Fri, 3 Sep 2004 12:28:42 +0000 (05:28 -0700)]
Remove extra tests from get_user_cpu_mask().

They aren't internally consistent.

22 years ago[PATCH] fix sched_domains hotplug bootstrap ordering vs. cpu_online_map issue
William Lee Irwin III [Fri, 3 Sep 2004 11:48:28 +0000 (04:48 -0700)]
[PATCH] fix sched_domains hotplug bootstrap ordering vs. cpu_online_map issue

cpu_online_map is not set up at the time of sched domain initialization
when hotplug cpu paths are used for SMP booting.

At this phase of bootstrapping, cpu_possible_map can be used by the
various architectures using cpu hotplugging for SMP bootstrap, but the
manipulations of cpu_online_map done on behalf of NUMA architectures,
done indirectly via node_to_cpumask(), can't, because cpu_online_map
starts depopulated and hasn't yet been populated.

On true NUMA architectures this is a distinct cpumask_t from
cpu_online_map and so the unpatched code works on NUMA; on non-NUMA
architectures the definition of node_to_cpumask() this way breaks and
would require an invasive sweeping of users of node_to_cpumask() to
change it to e.g.  cpu_possible_map, as cpu_possible_map is not suitable
for use at runtime as a substitute for cpu_online_map.

Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://drm.bkbits.net/drm-fntbl
Linus Torvalds [Fri, 3 Sep 2004 04:58:11 +0000 (21:58 -0700)]
Merge bk://drm.bkbits.net/drm-fntbl
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge starflyer.(none):/home/airlied/bitkeeper/linux-2.5
Dave Airlie [Sat, 4 Sep 2004 06:20:34 +0000 (16:20 +1000)]
Merge starflyer.(none):/home/airlied/bitkeeper/linux-2.5
into starflyer.(none):/home/airlied/bitkeeper/drm-fntbl

22 years agoremove DRM_IOREMAP* and DRM_FIND_MAP macros replace them with inline fns
Dave Airlie [Sat, 4 Sep 2004 06:01:05 +0000 (16:01 +1000)]
remove DRM_IOREMAP* and DRM_FIND_MAP macros replace them with inline fns

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoremove HAVE_DMA_WAITLIST as it was only used by gamma
Dave Airlie [Sat, 4 Sep 2004 05:49:41 +0000 (15:49 +1000)]
remove HAVE_DMA_WAITLIST as it was only used by gamma

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoremove __HAVE_DMA_SCHEDULE was only used by gamma.
Dave Airlie [Sat, 4 Sep 2004 05:43:02 +0000 (15:43 +1000)]
remove __HAVE_DMA_SCHEDULE was only used by gamma.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoDump __HAVE_DMA_FREELIST is only used by gamma.
Dave Airlie [Sat, 4 Sep 2004 05:37:35 +0000 (15:37 +1000)]
Dump __HAVE_DMA_FREELIST is only used by gamma.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoremove DRIVER_FOPS and related macros
Dave Airlie [Sat, 4 Sep 2004 05:21:49 +0000 (15:21 +1000)]
remove DRIVER_FOPS and related macros

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoRemove DRIVER_CTX_[CD]TOR, HAVE_KERNEL_CTX_SWITCH, DRIVER_BUF_PRIV_T, DRIVER_AGP_BUFF...
Dave Airlie [Sat, 4 Sep 2004 05:06:05 +0000 (15:06 +1000)]
Remove DRIVER_CTX_[CD]TOR, HAVE_KERNEL_CTX_SWITCH, DRIVER_BUF_PRIV_T, DRIVER_AGP_BUFFERS_MAP

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoInitial DRM function table removes some if the DRIVER_ macros.
Dave Airlie [Fri, 3 Sep 2004 07:52:02 +0000 (17:52 +1000)]
Initial DRM function table removes some if the DRIVER_ macros.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoMark gamma as broken
Dave Airlie [Fri, 3 Sep 2004 07:14:22 +0000 (17:14 +1000)]
Mark gamma as broken

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Fri, 3 Sep 2004 03:45:59 +0000 (20:45 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] tdfxfb linkage fix v2.0 (the previous one is broken)
Paolo Ornati [Fri, 3 Sep 2004 03:44:40 +0000 (20:44 -0700)]
[PATCH] tdfxfb linkage fix v2.0 (the previous one is broken)

This patch _really_ fixes tdfxfb linkage

22 years ago[PATCH] Fix warning in pc300_tty driver.
Dave Jones [Fri, 3 Sep 2004 03:42:09 +0000 (20:42 -0700)]
[PATCH] Fix warning in pc300_tty driver.

..caused by my last patch to this file.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] make hugetlb expansion allocation nowarn
Arjan van de Ven [Fri, 3 Sep 2004 03:39:14 +0000 (20:39 -0700)]
[PATCH] make hugetlb expansion allocation nowarn

a user can do echo 32000 > /proc/sys/vm/nr_hugepapges; at which point most
boxes will get spew about allocation failure. This of course isn't a real
bug so the patch below quiets that.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] update parport MAINTAINERS entry
Maximilian Attems [Fri, 3 Sep 2004 03:39:02 +0000 (20:39 -0700)]
[PATCH] update parport MAINTAINERS entry

Add correct email for parport entry in MAINTAINERS.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mtd/cfi_cmdset_0001: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:38:50 +0000 (20:38 -0700)]
[PATCH] mtd/cfi_cmdset_0001: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] message/i2o_core: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:38:39 +0000 (20:38 -0700)]
[PATCH] message/i2o_core: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] message/mptscsih: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:38:28 +0000 (20:38 -0700)]
[PATCH] message/mptscsih: replace schedule_timeout() with msleep()

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/radio-sf16fmr2: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:38:17 +0000 (20:38 -0700)]
[PATCH] radio/radio-sf16fmr2: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/radio-sf16fmi: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:38:06 +0000 (20:38 -0700)]
[PATCH] radio/radio-sf16fmi: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] saa7146_i2c.c: use msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:37:54 +0000 (20:37 -0700)]
[PATCH] saa7146_i2c.c: use msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/radio-maxiradio: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:37:42 +0000 (20:37 -0700)]
[PATCH] radio/radio-maxiradio: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/miropcm20-rds: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:37:30 +0000 (20:37 -0700)]
[PATCH] radio/miropcm20-rds: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/radio-aimslab: replace while/schedule() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:37:18 +0000 (20:37 -0700)]
[PATCH] radio/radio-aimslab: replace while/schedule() with msleep()

Uses msleep() instead of a while-loop and schedule().  Thus the CPU is
given up for the time desired.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/radio-cadet: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:37:07 +0000 (20:37 -0700)]
[PATCH] radio/radio-cadet: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radio/radio-maestro: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:36:55 +0000 (20:36 -0700)]
[PATCH] radio/radio-maestro: replace schedule_timeout() with msleep()

Replaced sleep_125ms() with msleep(125), udelay2() with udelay(2),
udelay4() with udelay(4) and udelay16() with udelay(16) and removed the
replaced functions' definitions.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mcd: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:36:43 +0000 (20:36 -0700)]
[PATCH] mcd: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cdu31a: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:36:31 +0000 (20:36 -0700)]
[PATCH] cdu31a: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Sort the CREDITS file properly (and add Jesper)
Jesper Juhl [Fri, 3 Sep 2004 03:36:19 +0000 (20:36 -0700)]
[PATCH] Sort the CREDITS file properly (and add Jesper)

Many entries in the CREDITS file are not properly sorted in alphabetical
order, despite the note in the file that it is supposed to be sorted like
that.

This patch attempts to sort the CREDITS file properly.  No existing entries
were changed, merely moved around in the file.  There where a few tricky
names that I was unsure how to sort (names with characters such as ü, ö,
and people with many names where it was unclear to me what name to sort by
etc), in those cases I've usually left the names where they were unless it
was glaringly obvious they were in the wrong spot.

I've also taken the liberty to add my own name to the file - I have
contributed several tiny/small fixes/cleanups etc over the years.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] coda: add sendfile wrapper
Jan Harkes [Fri, 3 Sep 2004 03:36:08 +0000 (20:36 -0700)]
[PATCH] coda: add sendfile wrapper

Add a wrapper for sendfile support in Coda.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] coda: fix ifdefs for CONFIG_CODA_FS_OLD_API
Jan Harkes [Fri, 3 Sep 2004 03:35:56 +0000 (20:35 -0700)]
[PATCH] coda: fix ifdefs for CONFIG_CODA_FS_OLD_API

Trivial fix to make the CODA_FS_OLD_API config option actually work as
expected.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add msleep_interruptible() function to kernel/timer.c
Maximilian Attems [Fri, 3 Sep 2004 03:35:44 +0000 (20:35 -0700)]
[PATCH] Add msleep_interruptible() function to kernel/timer.c

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] synclink: replace jiffies_from_ms() with msecs_to_jiffies()
Maximilian Attems [Fri, 3 Sep 2004 03:35:32 +0000 (20:35 -0700)]
[PATCH] synclink: replace jiffies_from_ms() with msecs_to_jiffies()

Uses msecs_to_jiffies() instead of the custom jiffies_from_ms().

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pcwd: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:35:20 +0000 (20:35 -0700)]
[PATCH] pcwd: replace schedule_timeout() with msleep()

Replace

set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(some_time);

with

msleep(jiffies_to_msecs(some_time));

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] nwflash: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:35:08 +0000 (20:35 -0700)]
[PATCH] nwflash: replace schedule_timeout() with msleep()

Uses msleep() instead of schedule_timeout() to guarantee the task delays at
least the desired time amount.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] isicom: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:34:56 +0000 (20:34 -0700)]
[PATCH] isicom: replace schedule_timeout() with msleep()

Uses msleep() instead of schedule_timeout() to guarantee the task delays at
least the desired time amount.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ec3104: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:34:44 +0000 (20:34 -0700)]
[PATCH] ec3104: replace schedule_timeout() with msleep()

Uses msleep() instead of schedule_timeout() to guarantee the task delays at
least the desired time amount.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dsp56k: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:34:32 +0000 (20:34 -0700)]
[PATCH] dsp56k: replace schedule_timeout() with msleep()

Use msleep() instead of schedule_timeout() to guarantee the task delays at
least the desired time amount.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ds1620: replace schedule_timeout() with msleep()
Maximilian Attems [Fri, 3 Sep 2004 03:34:21 +0000 (20:34 -0700)]
[PATCH] ds1620: replace schedule_timeout() with msleep()

Uses msleep() instead of schedule_timeout() to guarantee the task delays at
least the desired time amount.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/tc/zs.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:34:09 +0000 (20:34 -0700)]
[PATCH] drivers/tc/zs.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] include/linux/isicom.h MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:33:57 +0000 (20:33 -0700)]
[PATCH] include/linux/isicom.h MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/synclinkmp.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:33:45 +0000 (20:33 -0700)]
[PATCH] drivers/char/synclinkmp.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/synclink.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:33:33 +0000 (20:33 -0700)]
[PATCH] drivers/char/synclink.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/specialix.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:33:22 +0000 (20:33 -0700)]
[PATCH] drivers/char/specialix.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/serial167.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:33:10 +0000 (20:33 -0700)]
[PATCH] drivers/char/serial167.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/selection.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:32:58 +0000 (20:32 -0700)]
[PATCH] drivers/char/selection.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/rocket_int.h MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:32:47 +0000 (20:32 -0700)]
[PATCH] drivers/char/rocket_int.h MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/rocket.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:32:35 +0000 (20:32 -0700)]
[PATCH] drivers/char/rocket.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/riscom8.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:32:23 +0000 (20:32 -0700)]
[PATCH] drivers/char/riscom8.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/pcxx.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:32:12 +0000 (20:32 -0700)]
[PATCH] drivers/char/pcxx.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/pcmcia/synclink_cs.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:32:00 +0000 (20:32 -0700)]
[PATCH] drivers/char/pcmcia/synclink_cs.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/mxser.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:31:48 +0000 (20:31 -0700)]
[PATCH] drivers/char/mxser.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/isicom.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:31:36 +0000 (20:31 -0700)]
[PATCH] drivers/char/isicom.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/esp.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:31:24 +0000 (20:31 -0700)]
[PATCH] drivers/char/esp.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/epca.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:31:13 +0000 (20:31 -0700)]
[PATCH] drivers/char/epca.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/amiserial.c MIN/MAX removal
Maximilian Attems [Fri, 3 Sep 2004 03:31:01 +0000 (20:31 -0700)]
[PATCH] drivers/char/amiserial.c MIN/MAX removal

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] silence sn_console driver on non-SGI boxes
Bjorn Helgaas [Fri, 3 Sep 2004 03:30:49 +0000 (20:30 -0700)]
[PATCH] silence sn_console driver on non-SGI boxes

Acked by Jesse.

sn_console: don't print anything unless we're actually on an SGI box.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] announce hpet devices claimed
Bjorn Helgaas [Fri, 3 Sep 2004 03:30:37 +0000 (20:30 -0700)]
[PATCH] announce hpet devices claimed

I think the HPET driver should announce the hardware it claims.  Here's
a patch that prints this:

hpet0: at MMIO 0xc0000ffffc002000, IRQs 74, 75, 76
hpet0: 4ns tick, 3 64-bit timers
hpet1: at MMIO 0xc0000ffffc082000, IRQs 77, 78, 79
hpet1: 4ns tick, 3 64-bit timers

This has been acked by Bob.  I haven't heard from Venkatesh.

Print basic information (MMIO address, IRQs used, tick rate, number
of timers) when claiming an HPET device.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix drivers/net/cs89x0.c warning.
Luiz Capitulino [Fri, 3 Sep 2004 03:30:25 +0000 (20:30 -0700)]
[PATCH] fix drivers/net/cs89x0.c warning.

drivers/net/cs89x0.c: In function `net_close':
drivers/net/cs89x0.c:1601: warning: unused variable `lp'

 'lp'is only used when ALLOW_DMA is defined.

Signed-off-by: Luiz Capitulino <lcapitulino@conectiva.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix compile warning in rivafb on ppc
Christoph Hellwig [Fri, 3 Sep 2004 03:30:15 +0000 (20:30 -0700)]
[PATCH] fix compile warning in rivafb on ppc

riva_get_EDID_i2c is only used on !CONFIG_PPC_OF, so don't compile it on
ppc either.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove ptrinfo
Christoph Hellwig [Fri, 3 Sep 2004 03:30:03 +0000 (20:30 -0700)]
[PATCH] remove ptrinfo

It's defined in slab.c but not used anywhere.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] some missing statics in mm/
Christoph Hellwig [Fri, 3 Sep 2004 03:29:51 +0000 (20:29 -0700)]
[PATCH] some missing statics in mm/

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] stop ->put_inode abuse in vxfs
Christoph Hellwig [Fri, 3 Sep 2004 03:29:39 +0000 (20:29 -0700)]
[PATCH] stop ->put_inode abuse in vxfs

->clear_inode is the right place to free private inode parts.  No idea what
I though when using ->put_inode and i_count check.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix compile warnings in via-pmu.c for !CONFIG_PMAC_PBOOK
Christoph Hellwig [Fri, 3 Sep 2004 03:29:27 +0000 (20:29 -0700)]
[PATCH] fix compile warnings in via-pmu.c for !CONFIG_PMAC_PBOOK

There's some scoping problems so we get unused variables for that config.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix compile warning in ppc64 pmac_feature.c
Christoph Hellwig [Fri, 3 Sep 2004 03:29:16 +0000 (20:29 -0700)]
[PATCH] fix compile warning in ppc64 pmac_feature.c

dump_HT_speeds is only used by #if 0'ed code so if 0 it as well.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] make bad_page() print all of page->flags
William Lee Irwin III [Fri, 3 Sep 2004 03:29:04 +0000 (20:29 -0700)]
[PATCH] make bad_page() print all of page->flags

bad_page() only prints out 8 hexadecimal digits of page->flags regardless
of sizeof(page_flags_t).  This leads to confusing and/or incomplete bug
reports.  The following patch uses a field width argument to replace the
hardcoded %08lx so that bad_page() may print the whole of page->flags.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Disable colour conversion in the CPiA Video Camera driver
Luca Risolia [Fri, 3 Sep 2004 03:28:52 +0000 (20:28 -0700)]
[PATCH] Disable colour conversion in the CPiA Video Camera driver

Since in-kernel colorspace conversion is not allowed, this patch disables it
in the CPiA video camera driver by default.  Users should fix the applications
in case they don't work without conversion reenabled by setting the new
'colorspace_conv' module parameter to 1.  This is a temporary solution, so
within a few months deprecated code will be entirely removed.

Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix the barrier IDE detection logic
Alan Cox [Fri, 3 Sep 2004 03:28:40 +0000 (20:28 -0700)]
[PATCH] fix the barrier IDE detection logic

This fixes the logic so we always check for the cache.  It also defaults to
safer behaviour for the non cache flush case now we have the right bits in
the right places.  I've also played a bit with timings - the worst case
timings I can get for the flush are about 7 seconds (which I'd expect as
the engineering worst cases will include retries)

Probably what should happen is that the barrier logic is enabled providing
the wcache is disabled.  I've not meddled with this as I don't know what
the intended semantics and rules are for disabling barrier on a live disk
(eg when a user uses hdparm to turn on the write cache).  In the current
code as with Jens original that cannot occur.

I've also fixed the new printk's as per a private request from Matt Domsch.

Cc: Jens Axboe <axboe@suse.de>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Root reservations for strict overcommit
Alan Cox [Fri, 3 Sep 2004 03:28:28 +0000 (20:28 -0700)]
[PATCH] Root reservations for strict overcommit

This was on my TODO list for a while and it turns out someone already fixed
the armwaving overcommit mode for the same problem.  It is easy to get into
a situation where you have no overcommit and nothing can be done because
there is no memory to clean up the stable but non-useful state of the
machine.

The fix is trivial and duplicated from the armwaving overcommit code path.
The last 3% of the memory can be claimed by root processes only.  It isn't
a cure but it does seem to solve the real world problems - at least
providing you have enough memory for 3% to be useful 8).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pcxx.c build fix
Adrian Bunk [Fri, 3 Sep 2004 03:28:16 +0000 (20:28 -0700)]
[PATCH] pcxx.c build fix

  CC      drivers/char/pcxx.o
drivers/char/pcxx.c: In function `pcxe_cleanup':
drivers/char/pcxx.c:209: warning: unused variable `e2'
drivers/char/pcxx.c: At top level:
drivers/char/pcxx.c:229: `pcxe_init' undeclared here (not in a function)
drivers/char/pcxx.c:230: warning: type defaults to `int' in declaration of `module_cleanup'
drivers/char/pcxx.c:230: warning: parameter names (without types) in function declaration
drivers/char/pcxx.c:230: warning: data definition has no type or storage class
drivers/char/pcxx.c:1016: redefinition of `__initcall_pcxe_init'
drivers/char/pcxx.c:229: `__initcall_pcxe_init' previously defined here
drivers/char/pcxx.c:1016: `pcxe_init' undeclared here (not in a function)
drivers/char/pcxx.c:1017: `pcxe_exit' undeclared here (not in a function)
drivers/char/pcxx.c: In function `pcxe_tiocmget':
drivers/char/pcxx.c:2009: `mstat' undeclared (first use in this function)
drivers/char/pcxx.c:2009: (Each undeclared identifier is reported only once
drivers/char/pcxx.c:2009: for each function it appears in.)
drivers/char/pcxx.c: In function `pcxe_tiocmset':
drivers/char/pcxx.c:2072: warning: control reaches end of non-void function
drivers/char/pcxx.c: At top level:
drivers/char/pcxx.c:1044: warning: `pcxe_init' defined but not used

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] v4l: saa7134 driver update
Gerd Knorr [Fri, 3 Sep 2004 03:28:04 +0000 (20:28 -0700)]
[PATCH] v4l: saa7134 driver update

This is a minor update for the saa7134 driver.  Changes:

- i2c cleanups (i2c_add_driver return value, add __init & __exit).

- fix radio tuning (last update broke this ...).

- adds support for new tv cards.

- add config info for the tda9887 (thus this one depends on the tuner
  update patch mailed earlier).

- add configuration help printk's for some cards, for stuff which can't
  be autodetected.

- make automute switchable via v4l2 API, without driver reload.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] v4l: bttv driver update.
Gerd Knorr [Fri, 3 Sep 2004 03:27:52 +0000 (20:27 -0700)]
[PATCH] v4l: bttv driver update.

This patch is a minor update for the bttv driver.

- add a few new tv cards.

- add some infrastructure needed by the dvb drivers (for bt878-based dvb
  cards).

- improve croma line selection for planar video formats,

- some new debug printk's

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] v4l: i2c tuner modules update
Gerd Knorr [Fri, 3 Sep 2004 03:27:40 +0000 (20:27 -0700)]
[PATCH] v4l: i2c tuner modules update

This patch updates the tuner and tda9887 i2c modules which handle the tv
card tuning.

- some cleanups (don't ignore i2c_add_driver return value, add __init and
  __exit).

- add support for new tuners.

- allow to pass configuration info (tv card specific stuff) to the
  tda9887 module.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] v4l: i2c cleanups
Gerd Knorr [Fri, 3 Sep 2004 03:27:28 +0000 (20:27 -0700)]
[PATCH] v4l: i2c cleanups

This patch has some minor cleanups for the v4l i2c modules: Don't ignore
the i2c_add_driver return value and mark the init+exit functions with
__init + __exit.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NLS: nls_cp932 fix
Hirofumi Ogawa [Fri, 3 Sep 2004 03:27:16 +0000 (20:27 -0700)]
[PATCH] NLS: nls_cp932 fix

Some unicode chars is missing to convert on nls_cp932.
This patch fixes the following chars.

    U+00A2, U+00A3, U+00A7, U+00A8, U+00AC, U+00B0, U+00B1, U+00B4,
    U+00B6, U+00D7, U+00F7, U+FFE2

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] FAT: document fix/update
Hirofumi Ogawa [Fri, 3 Sep 2004 03:27:04 +0000 (20:27 -0700)]
[PATCH] FAT: document fix/update

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86_64: read_ldt() clear_user() return value checking
Jesper Juhl [Fri, 3 Sep 2004 03:26:52 +0000 (20:26 -0700)]
[PATCH] x86_64: read_ldt() clear_user() return value checking

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] read_ldt() neglects to check clear_user() return value
Jesper Juhl [Fri, 3 Sep 2004 03:26:40 +0000 (20:26 -0700)]
[PATCH] read_ldt() neglects to check clear_user() return value

akpm: It's a bit debatable.  The user passed in a buffer of a particular size,
and we successfully sopied the LDT info into it, but we got a fault when
clearing out the rest of the user's buffer.   Is that worth a -EFAULT?

I suppose so...

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] urandom initialisation fix
Bálint Márton [Fri, 3 Sep 2004 03:26:28 +0000 (20:26 -0700)]
[PATCH] urandom initialisation fix

The urandom driver returns the same thing after every boot.

The urandom pool is only cleared, and not initialized, and because there is
nothing in the primary pool, the reseeding is not successful.  The solution
is also the same, initialize not just the primary and secondary, but also
the urandom pool.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix proc_symlink() warning with CONFIG_PROC_FS=n
Roland Dreier [Fri, 3 Sep 2004 03:26:16 +0000 (20:26 -0700)]
[PATCH] fix proc_symlink() warning with CONFIG_PROC_FS=n

The last parameter of proc_symlink is usually a "const char *", but the
stub in <linux/proc_fs.h> for CONFIG_PROC_FS=n omits the const and makes
its last parameter a "char *".  This causes a warning about discarding
qualifiers for any code that passes something const for that last
parameter.

This patch fixes that up and also, for neatness's sake, makes the stub for
create_proc_read_entry() match the usual prototype more exactly (use
read_proc_t rather than the underlying function pointer type).

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add IXDP2x01 board support to CS89x0 driver
Deepak Saxena [Fri, 3 Sep 2004 03:26:05 +0000 (20:26 -0700)]
[PATCH] Add IXDP2x01 board support to CS89x0 driver

The following patch modifies the CS89x0 driver to work on Intel's IXDP2401
and IXDP2801 (Intel ARm/XScale based) platforms:

- The main change requried is that the IXDP2x01 boards have the
  chip connected through a CPLD so all registers appear at
  dword-aligned addresses. A macro in the header adjusts the register
  offsets appropriately.

- The boards do not have ISA, so we need to explicitly check for
  IXDP2X01 in Kconfig.

- There is what I believe is a bug in the driver as it currently
  only asks for the signature if ioaddr & 1 is set but then
  reads and checks against the expected signature even when
  !(ioaddr & 1). This causes the driver to not load on the IXDP2x01
  since our ioaddr does not have bit 1 set.

- #ifdef out some bits of code that assume the chip is really
  sitting on an ISA bus.

The main IXDP2x01 support will be coming in through rmk's tree at
a later date when all the drivers are merged upstream.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix argument checking in sched_setaffinity
Andi Kleen [Fri, 3 Sep 2004 03:25:53 +0000 (20:25 -0700)]
[PATCH] Fix argument checking in sched_setaffinity

This patch fixes the argument length checking in sched_setaffinity.

Previously it would error out when the length passed was smaller than
sizeof(cpumask_t).  And any bits beyond cpumask_s would be silently
ignored.

First this assumes that the user application knows the size of cpumask_t,
which should be kernel internal.  When you increase cpumask_t old
applications break and there is no good way for the application to find out
the cpumask_t size the kernel uses.

This patch changes it to do similar checking to the NUMA API calls:

- Any length is ok as long as all online CPUs are covered (this could
  still cause application breakage with more CPUs, but there is no good way
  around it)

- When the user passes more than cpumask_t bytes the excess bytes are
  checked to be zero.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Increase bus/apic limits on x86-64
Andi Kleen [Fri, 3 Sep 2004 03:25:41 +0000 (20:25 -0700)]
[PATCH] Increase bus/apic limits on x86-64

This patch increases some hardcoded limits people have already run into or
plan to go towards eventually.

Increase max MP busses on x86-64.  Needed for some machines.  Suggested by
Andrew Chen and James Cleverdon.

MAX_IRQ_SOURCES kept at 256 for now, matching i386.

Increase MAX_IO_APICS to 32 following i386.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix boot_cpu_data on x86-64
Andi Kleen [Fri, 3 Sep 2004 03:25:29 +0000 (20:25 -0700)]
[PATCH] Fix boot_cpu_data on x86-64

From: Andreas Gruenbacher

Add brackets to boot_cpu_data to fix compilation of centrino cpufreq driver.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add support for NUMA discovery on AMD dual core to x86-64
Andi Kleen [Fri, 3 Sep 2004 03:25:17 +0000 (20:25 -0700)]
[PATCH] Add support for NUMA discovery on AMD dual core to x86-64

Following the CPUID extensions and APIC-ID setup presented by Richard
Brunner at Kernel Summit.

Without this the kernel's node discovery would assign the wrong nodes on
dual core systems and cause performance degradation.

Only handles power of two cored CPUs, others will be ignored.

/proc/cpuinfo has a new field cpu cores: <number of CPU cores> and also
show the other core as HT sibling (this is needed to make old CPU based
license managers to count one CPU package as only one physical CPU)

FIXME this currently misses the disable code for SMT idle.  That's because
2.6.9rc1-bk6 removed the arch hooks need for that.  Needs to be readded
later.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: implement page_is_ram
Haren Myneni [Fri, 3 Sep 2004 03:25:05 +0000 (20:25 -0700)]
[PATCH] ppc64: implement page_is_ram

This patch contains - Removes __initdata from lmb definition (struct lmb
lmb;) and modified the existing page_is_ram function.

Also changed the current argument from physical address to pfn to make it
compatible across architectures.  Please review them and send me your
comments/suggestions.  If you are OK with any one patch, please include it
in the mainline kernel.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: cleanup asm/processor.h
Anton Blanchard [Fri, 3 Sep 2004 03:24:53 +0000 (20:24 -0700)]
[PATCH] ppc64: cleanup asm/processor.h

Wrap a lot more of processor.h in #ifdef __KERNEL__ / __ASSEMBLY__.  Remove
now unised EXC_FRAME_SIZE.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>