]> pilppa.com Git - linux-2.6-omap-h63xx.git/log
linux-2.6-omap-h63xx.git
19 years agoMerge with mainline
Tony Lindgren [Thu, 28 Jul 2005 09:11:35 +0000 (02:11 -0700)]
Merge with mainline

19 years agoARM: OMAP: Fixed merge conflict in board.h before syncing with mainline
Tony Lindgren [Thu, 28 Jul 2005 09:04:00 +0000 (02:04 -0700)]
ARM: OMAP: Fixed merge conflict in board.h before syncing with mainline

Fixed merge conflict in board.h before syncing with mainline

19 years agoARM: OMAP: Synced drivers/i2c/chips/Kconfig with mainline
Tony Lindgren [Thu, 28 Jul 2005 08:59:06 +0000 (01:59 -0700)]
ARM: OMAP: Synced drivers/i2c/chips/Kconfig with mainline

Synced drivers/i2c/chips/Kconfig with mainline

19 years agoARM: OMAP: Cosmetic clean-up before syncing with mainline
Tony Lindgren [Wed, 27 Jul 2005 12:50:51 +0000 (05:50 -0700)]
ARM: OMAP: Cosmetic clean-up before syncing with mainline

Cosmetic clean-up before syncing with mainline.

19 years ago[PATCH] ARM: OMAP: Remove aic23 DSP dependency
Toshiro Kobayashi [Wed, 27 Jul 2005 11:46:12 +0000 (04:46 -0700)]
[PATCH] ARM: OMAP: Remove aic23 DSP dependency

Currently DSP driver is forced with aic23 audio driver,
though there's no dependency.

19 years ago[PATCH] ARM: OMAP: DSP Gateway v3.3
Toshiro Kobayashi [Wed, 27 Jul 2005 11:06:19 +0000 (04:06 -0700)]
[PATCH] ARM: OMAP: DSP Gateway v3.3

This is DSP Gateway v3.3 patch.

19 years ago[PATCH] ARM: OMAP: dma progress meter function in dma.c
Daniel Petrini [Wed, 27 Jul 2005 11:00:50 +0000 (04:00 -0700)]
[PATCH] ARM: OMAP: dma progress meter function in dma.c

The following patch adds a new fuction in file dma.c:

- omap_get_dma_src_addr_counter

This function returns the value of the DMA source counter register.
It can be used to show the progress of the dma transfer for a given channel.

19 years ago[PATCH] ARM: OMAP: Change return from address to content in dma.c
Daniel Petrini [Wed, 27 Jul 2005 10:59:02 +0000 (03:59 -0700)]
[PATCH] ARM: OMAP: Change return from address to content in dma.c

The following patch changes the return value from functions :

- omap_get_dma_src_pos
- omap_get_dma_dst_pos

in file dma.c.

The original version of the functions returns the address of the
registers that has the related information. The new version returns
the content of the registers: the source and destination addresses of
the current transfer for the given channel.

19 years ago[PATCH] ARM: OMAP: Add missing I2C patch
David Brownell [Wed, 27 Jul 2005 07:41:44 +0000 (00:41 -0700)]
[PATCH] ARM: OMAP: Add missing I2C patch

The original dev-i2c.patch somehow got left out. This patch
makes I2C to use driver model.

19 years ago[PATCH] x86_64 fsnotify build fix
Andrew Morton [Wed, 27 Jul 2005 04:41:38 +0000 (21:41 -0700)]
[PATCH] x86_64 fsnotify build fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] softdog build fix
Andrew Morton [Wed, 27 Jul 2005 04:41:38 +0000 (21:41 -0700)]
[PATCH] softdog build fix

drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] eurotechwdt build fix
Andrew Morton [Wed, 27 Jul 2005 04:41:37 +0000 (21:41 -0700)]
[PATCH] eurotechwdt build fix

drivers/char/watchdog/eurotechwdt.c:165: too many arguments to function `emergency_restart'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] i386: clean up user_mode macros
Chuck Ebbert [Wed, 27 Jul 2005 01:57:24 +0000 (21:57 -0400)]
[PATCH] i386: clean up user_mode macros

 - make the new user_mode() return 0 or 1 (same as x86_64)

 - remove conditional jump from user_mode_vm() it's called every timer
   tick on each CPU on SMP)

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Tue, 26 Jul 2005 23:43:39 +0000 (16:43 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

19 years ago[PATCH] Change PowerPC MPC8xx maintainer
Tom Rini [Tue, 26 Jul 2005 19:49:53 +0000 (12:49 -0700)]
[PATCH] Change PowerPC MPC8xx maintainer

As Marcelo has been spending a great deal of time working on MPC8xx
systems of late (thanks!) and has more time than I do now for it, I'm
handing this over to him.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[XFRM]: Fix possible overflow of sock->sk_policy
Herbert Xu [Tue, 26 Jul 2005 22:43:17 +0000 (15:43 -0700)]
[XFRM]: Fix possible overflow of sock->sk_policy

Spotted by, and original patch by, Balazs Scheidler.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[PATCH] fix MAX_USER_RT_PRIO and MAX_RT_PRIO
Steven Rostedt [Mon, 25 Jul 2005 20:28:39 +0000 (16:28 -0400)]
[PATCH] fix MAX_USER_RT_PRIO and MAX_RT_PRIO

Here's the patch again to fix the code to handle if the values between
MAX_USER_RT_PRIO and MAX_RT_PRIO are different.

Without this patch, an SMP system will crash if the values are
different.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[NETFILTER]: Fix ip_conntrack_put() prototype.
Adrian Bunk [Tue, 26 Jul 2005 22:39:28 +0000 (15:39 -0700)]
[NETFILTER]: Fix ip_conntrack_put() prototype.

The function is not inline.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[PATCH] Fix RLIMIT_RTPRIO breakage
Andreas Steinmetz [Sat, 23 Jul 2005 11:42:04 +0000 (13:42 +0200)]
[PATCH] Fix RLIMIT_RTPRIO breakage

RLIMIT_RTPRIO is supposed to grant non privileged users the right to use
SCHED_FIFO/SCHED_RR scheduling policies with priorites bounded by the
RLIMIT_RTPRIO value via sched_setscheduler(). This is usually used by
audio users.

Unfortunately this is broken in 2.6.13rc3 as you can see in the excerpt
from sched_setscheduler below:

        /*
         * Allow unprivileged RT tasks to decrease priority:
         */
        if (!capable(CAP_SYS_NICE)) {
                /* can't change policy */
                if (policy != p->policy)
                        return -EPERM;

After the above unconditional test which causes sched_setscheduler to
fail with no regard to the RLIMIT_RTPRIO value the following check is made:

               /* can't increase priority */
                if (policy != SCHED_NORMAL &&
                    param->sched_priority > p->rt_priority &&
                    param->sched_priority >
                                p->signal->rlim[RLIMIT_RTPRIO].rlim_cur)
                        return -EPERM;

Thus I do believe that the RLIMIT_RTPRIO value must be taken into
account for the policy check, especially as the RLIMIT_RTPRIO limit is
of no use without this change.

The attached patch fixes this problem.

Signed-off-by: Andreas Steinmetz <ast@domdv.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Tue, 26 Jul 2005 22:13:26 +0000 (15:13 -0700)]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

19 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm-smp
Linus Torvalds [Tue, 26 Jul 2005 22:12:54 +0000 (15:12 -0700)]
Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp

19 years agoFix compiler warning in qla_iocb.c
Linus Torvalds [Tue, 26 Jul 2005 21:50:02 +0000 (14:50 -0700)]
Fix compiler warning in qla_iocb.c

Remove bogus initialization that was re-done (correctly) later.

19 years ago[PATCH] ARM: 2831/1: S3C2440 - split s3c2440 clocks from central clock code
Ben Dooks [Tue, 26 Jul 2005 21:39:14 +0000 (22:39 +0100)]
[PATCH] ARM: 2831/1: S3C2440 - split s3c2440 clocks from central clock code

Patch from Ben Dooks

Split the s3c2440 specific clocks from the arch clock support, to
make the code clearer.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off
Eric W. Biederman [Tue, 26 Jul 2005 18:17:52 +0000 (12:17 -0600)]
[PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off

Now that all of the code paths that call acpi_power_off
have been modified to call either call kernel_power_off
(which calls apci_sleep_prepare by way of acpi_shutdown)
or to call acpi_sleep_prepare directly it is redundant to call
acpi_sleep_prepare from acpi_power_off.

So simplify the code and simply don't call acpi_sleep_prepare.

In addition there is a little error handling done so if we
can't register the acpi class we don't hook pm_power_off.

I think I have done the right thing with the CONFIG_PM define
but I'm not certain.  Can this code even be compiled if
CONFIG_PM is false?

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] acpi_power_off: Don't switch to the boot cpu
Eric W. Biederman [Tue, 26 Jul 2005 18:16:00 +0000 (12:16 -0600)]
[PATCH] acpi_power_off: Don't switch to the boot cpu

machine_power_off on i386 and x86_64 now switch to the
boot cpu out of paranoia and because the MP Specification indicates it
is a good idea on reboot, so for those architectures it is a noop.
I can't see anything in the acpi spec that requires you to be on
the boot cpu to power off the system, so this should not be an issue
for ia64.  In addition ia64 has the altix a massive multi-node
system where switching to the boot cpu sounds insane as we may
hot removed the boot cpu.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] x86_64 sync machine_power_off with i386
Eric W. Biederman [Tue, 26 Jul 2005 18:14:16 +0000 (12:14 -0600)]
[PATCH] x86_64 sync machine_power_off with i386

i386 machine_power_off was disabling the local apic
and all of it's users wanted to be on the boot cpu.
So call machine_shutdown which places us on the boot
cpu and disables the apics.  This keeps us in sync
and reduces the number of cases we need to worry about in
the power management code.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] APM: Remove redundant call to set_cpus_allowed
Eric W. Biederman [Tue, 26 Jul 2005 18:10:02 +0000 (12:10 -0600)]
[PATCH] APM: Remove redundant call to set_cpus_allowed

machine_power_off now always switches to the boot cpu so there
is no reason for APM to also do that.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] i386 machine_power_off cleanup
Eric W. Biederman [Tue, 26 Jul 2005 18:08:53 +0000 (12:08 -0600)]
[PATCH] i386 machine_power_off cleanup

Call machine_shutdown() to move to the boot cpu
and disable apics.  Both acpi_power_off and
apm_power_off want to move to the boot cpu.
and we are already disabling the local apics
so calling machine_shutdown simply reuses
code.

ia64 doesn't have a special path in power_off
for efi so there is no reason i386 should.  If
we really need to call the efi power off path
the efi driver can set pm_power_off like everyone
else.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on
Eric W. Biederman [Tue, 26 Jul 2005 18:07:01 +0000 (12:07 -0600)]
[PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on

This appears to be a typo I introduced when cleaning
this code up earlier. Ooops.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] pcwd.c: Call kernel_power_off not machine_power_off
Eric W. Biederman [Tue, 26 Jul 2005 18:03:08 +0000 (12:03 -0600)]
[PATCH] pcwd.c: Call kernel_power_off not machine_power_off

The call appears to come from process context so kernel_power_off
should be safe.  And acpi_power_off won't necessarily work if you just
call machine_power_off.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] swpsuspend: Have suspend to disk use factors of sys_reboot
Eric W. Biederman [Tue, 26 Jul 2005 18:01:17 +0000 (12:01 -0600)]
[PATCH] swpsuspend: Have suspend to disk use factors of sys_reboot

The suspend to disk code was a poor copy of the code in
sys_reboot now that we have kernel_power_off, kernel_restart
and kernel_halt use them instead of poorly duplicating them inline.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] 68328serial: sysrq should use emergency_reboot
Eric W. Biederman [Tue, 26 Jul 2005 17:59:54 +0000 (11:59 -0600)]
[PATCH] 68328serial: sysrq should use emergency_reboot

The 68328serial.c driver has a weird local reimplementation of
magic sysrq.  The code is architecture specific enough that calling
machine_restart() is probably ok.  But there is no reason not to call
emergency_restart() so do so.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] In hangcheck-timer.c call emergency_restart()
Eric W. Biederman [Tue, 26 Jul 2005 17:55:59 +0000 (11:55 -0600)]
[PATCH] In hangcheck-timer.c call emergency_restart()

If we've hung a clean reboot does not sound like a real
option.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Fix watchdog drivers to call emergency_reboot()
Eric W. Biederman [Tue, 26 Jul 2005 17:53:19 +0000 (11:53 -0600)]
[PATCH] Fix watchdog drivers to call emergency_reboot()

If a watchdog driver has decided it is time to reboot the system
we know something is wrong and we are in interrupt context
so emergency_reboot() is what we want.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Update sysrq-B to use emergency_restart()
Eric W. Biederman [Tue, 26 Jul 2005 17:51:06 +0000 (11:51 -0600)]
[PATCH] Update sysrq-B to use emergency_restart()

sysrq calls into the reboot path from an interrupt handler
we can either push the code do into process context and
call kernel_restart and get a clean reboot or we can simply
reboot the machine, and increase our chances of actually
rebooting.  emergency_reboot() seems like the closest match
to what we have previously done, and what we want.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Call emergency_reboot from panic
Eric W. Biederman [Tue, 26 Jul 2005 17:49:23 +0000 (11:49 -0600)]
[PATCH] Call emergency_reboot from panic

We know the system is in trouble so there is no question if this
is an emergecy :)

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Use kernel_power_off in sysrq-o
Eric W. Biederman [Tue, 26 Jul 2005 17:47:32 +0000 (11:47 -0600)]
[PATCH] Use kernel_power_off in sysrq-o

We already do all of the gymnastics to run from process context
to call the power off code so call into the power off code cleanly.

This especially helps acpi as part of it's shutdown logic should
run acpi_shutdown called from device_shutdown which was not
being called from here.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] x86_64: Implemenent machine_emergency_restart
Eric W. Biederman [Tue, 26 Jul 2005 17:45:31 +0000 (11:45 -0600)]
[PATCH] x86_64: Implemenent machine_emergency_restart

It is not safe to call set_cpus_allowed() in interrupt
context and disabling the apics is complicated code.
So unconditionally skip machine_shutdown in machine_emergency_reboot
on x86_64.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] x86_64: Fix reboot_force
Eric W. Biederman [Tue, 26 Jul 2005 17:44:21 +0000 (11:44 -0600)]
[PATCH] x86_64: Fix reboot_force

We only want to shutdown the apics if reboot_force
is not specified.  Be we are doing this both
in machine_shutdown which is called unconditionally
and if (!reboot_force).  So simply call machine_shutdown
if (!reboot_force).  It looks like something
went weird with merging some of the kexec patches for
x86_64, and caused this.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] i386: Implement machine_emergency_reboot
Eric W. Biederman [Tue, 26 Jul 2005 17:41:26 +0000 (11:41 -0600)]
[PATCH] i386: Implement machine_emergency_reboot

set_cpus_allowed is not safe in interrupt context
and disabling apics is complicated code so don't
call machine_shutdown on i386 from emergency_restart().

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Don't export machine_restart, machine_halt, or machine_power_off.
Eric W. Biederman [Tue, 26 Jul 2005 17:36:01 +0000 (11:36 -0600)]
[PATCH] Don't export machine_restart, machine_halt, or machine_power_off.

machine_restart, machine_halt and machine_power_off are machine
specific hooks deep into the reboot logic, that modules
have no business messing with.  Usually code should be calling
kernel_restart, kernel_halt, kernel_power_off, or
emergency_restart. So don't export machine_restart,
machine_halt, and machine_power_off so we can catch buggy users.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Fix the arguments to machine_restart on cris
Eric W. Biederman [Tue, 26 Jul 2005 17:32:34 +0000 (11:32 -0600)]
[PATCH] Fix the arguments to machine_restart on cris

It appears machine_restart has been working cris just
by luck.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Add emergency_restart()
Eric W. Biederman [Tue, 26 Jul 2005 17:29:55 +0000 (11:29 -0600)]
[PATCH] Add emergency_restart()

When the kernel is working well and we want to restart cleanly
kernel_restart is the function to use.   But in many instances
the kernel wants to reboot when thing are expected to be working
very badly such as from panic or a software watchdog handler.

This patch adds the function emergency_restart() so that
callers can be clear what semantics they expect when calling
restart.  emergency_restart() is expected to be callable
from interrupt context and possibly reliable in even more
trying circumstances.

This is an initial generic implementation for all architectures.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Make ctrl_alt_del call kernel_restart to get a proper reboot.
Eric W. Biederman [Tue, 26 Jul 2005 17:27:34 +0000 (11:27 -0600)]
[PATCH] Make ctrl_alt_del call kernel_restart to get a proper reboot.

It is obvious we wanted to call kernel_restart here
but since we don't have it the code was expanded inline and hasn't
been correct since sometime in 2.4.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Refactor sys_reboot into reusable parts
Eric W. Biederman [Tue, 26 Jul 2005 17:24:14 +0000 (11:24 -0600)]
[PATCH] Refactor sys_reboot into reusable parts

Because the factors of sys_reboot don't exist people calling
into the reboot path duplicate the code badly, leading to
inconsistent expectations of code in the reboot path.

This patch should is just code motion.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Add missing device_suspsend(PMSG_FREEZE) calls.
Eric W. Biederman [Tue, 26 Jul 2005 17:21:38 +0000 (11:21 -0600)]
[PATCH] Add missing device_suspsend(PMSG_FREEZE) calls.

In the recent addition of device_suspend calls into
sys_reboot two code paths were missed.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] qla2xxx: Kconfig dependency fix
Andrew Morton [Tue, 26 Jul 2005 21:11:30 +0000 (14:11 -0700)]
[PATCH] qla2xxx: Kconfig dependency fix

*** Warning: "fc_remote_port_block" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "scsi_is_fc_rport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "fc_remote_port_unblock" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "fc_remote_port_rolechg" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "fc_release_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "fc_remove_host" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "fc_remote_port_add" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
*** Warning: "fc_attach_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] qla: remove anonymous union
Andrew Morton [Tue, 26 Jul 2005 21:11:28 +0000 (14:11 -0700)]
[PATCH] qla: remove anonymous union

Older gcc's dont support anonymous unions, so this driver gets hundreds of
error.

Fortunately the fix is easy...

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: fix oops fix
Andrew Morton [Tue, 26 Jul 2005 21:08:38 +0000 (14:08 -0700)]
[PATCH] inotify: fix oops fix

Cc: Robert Love <rml@novell.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: add x86-64 syscall entries
Robert Love [Mon, 25 Jul 2005 19:19:29 +0000 (15:19 -0400)]
[PATCH] inotify: add x86-64 syscall entries

Add inotify syscall entries to x86-64.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: add missing hook to sys32_open
Robert Love [Mon, 25 Jul 2005 19:19:20 +0000 (15:19 -0400)]
[PATCH] inotify: add missing hook to sys32_open

Add missing fsnotify_open() hook to sys32_open().

Add fsnotify_open() hook to sys32_open() on x86-64.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: check retval in init
Robert Love [Mon, 25 Jul 2005 19:17:34 +0000 (15:17 -0400)]
[PATCH] inotify: check retval in init

Check for (unlikely) errors in the filesystem initialization stuff in
our module_init() function.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: change default limits
Robert Love [Mon, 25 Jul 2005 19:13:43 +0000 (15:13 -0400)]
[PATCH] inotify: change default limits

Change default inotify limits: Maximum instances per user to 128 and
maximum events per queue to 16k.  The max instances used to be 128; the
change to 8 was a mistake.  Memory consumption is fine.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: exit path cleanups
Robert Love [Mon, 25 Jul 2005 19:12:19 +0000 (15:12 -0400)]
[PATCH] inotify: exit path cleanups

Handle error out paths better.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: oops fix
Robert Love [Mon, 25 Jul 2005 19:10:08 +0000 (15:10 -0400)]
[PATCH] inotify: oops fix

Bug fix: Ensure that the fd passed to inotify_add_watch() and
inotify_rm_watch() belongs to inotify.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: use fget_light
Robert Love [Mon, 25 Jul 2005 19:08:37 +0000 (15:08 -0400)]
[PATCH] inotify: use fget_light

As an optimization, use fget_light() and fput_light() where possible.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] inotify: misc. cleanup
Robert Love [Mon, 25 Jul 2005 19:07:13 +0000 (15:07 -0400)]
[PATCH] inotify: misc. cleanup

Miscellaneous invariant clean up, comment fixes, and so on.  Trivial
stuff.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6
Linus Torvalds [Tue, 26 Jul 2005 20:28:47 +0000 (13:28 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6

19 years ago[PATCH] ARM SMP: Mark device mappings as "device" in ARMv6 parlance
Russell King [Tue, 26 Jul 2005 18:51:26 +0000 (19:51 +0100)]
[PATCH] ARM SMP: Mark device mappings as "device" in ARMv6 parlance

ARMv6 introduces memory types into the page tables.  Mark devices
mappings with the "shared device" memory type.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM SMP: Add ARMv6 memory barriers
Russell King [Tue, 26 Jul 2005 18:44:26 +0000 (19:44 +0100)]
[PATCH] ARM SMP: Add ARMv6 memory barriers

Convert explicit gcc asm-based memory barriers into smp_mb() calls.
These change between barrier() and the ARMv6 data memory barrier
instruction depending on whether ARMv6 SMP is enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM SMP: Use exclusive load/store for __xchg
Russell King [Tue, 26 Jul 2005 18:39:31 +0000 (19:39 +0100)]
[PATCH] ARM SMP: Use exclusive load/store for __xchg

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM: 2830/1: Fix Jornada 720 PCMCIA-support
Michael Gernoth [Tue, 26 Jul 2005 18:21:47 +0000 (19:21 +0100)]
[PATCH] ARM: 2830/1: Fix Jornada 720 PCMCIA-support

Patch from Michael Gernoth

This patch lets the Jornada 720 PCMCIA-driver compile again. The
resulting driver has been tested on a Jornada with a CF-card, which
was mounted and accessed successfully.

Signed-off-by: Michael Gernoth <michael@gernoth.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM: 2829/1: S3C2410 - split s3c2440 irq specifics from core irq.c
Ben Dooks [Tue, 26 Jul 2005 18:20:27 +0000 (19:20 +0100)]
[PATCH] ARM: 2829/1: S3C2410 - split s3c2440 irq specifics from core irq.c

Patch from Ben Dooks

Remove the need for the #ifdefs and place the IRQ handling code for
the s3c2440 into a new file, which is only compiled when the
s3c2440 cpu support is enabled.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM: 2828/1: BAST - remove static map of ASIX area
Ben Dooks [Tue, 26 Jul 2005 18:20:26 +0000 (19:20 +0100)]
[PATCH] ARM: 2828/1: BAST - remove static map of ASIX area

Patch from Ben Dooks

There is no point in mapping this staticaly, the driver is going
to ioremap() the area as it sees fit. Also correct the dates on
the changelog comments

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM: 2819/1: Fix several S3C24x0 IIS defines
Dimitry Andric [Tue, 26 Jul 2005 18:20:25 +0000 (19:20 +0100)]
[PATCH] ARM: 2819/1: Fix several S3C24x0 IIS defines

Patch from Dimitry Andric

- Change S3C2440_IISCON_MPLL to S3C2440_IISMOD_MPLL:
  The S3C2440 IISCON register doesn\'t control the master clock selection, this is done with the IISMOD register.
- Correct S3C2410_IISMOD_256FS and S3C2410_IISMOD_384FS:
  This is set via bit 2 of IISMOD, not bit 1.
- Add S3C2410_IISCON_PSCEN (prescaler enable), for completeness\' sake.

Signed-off-by: Dimitry Andric <dimitry.andric@tomtom.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] ARM: OMAP: mmc MODULE_ALIAS, warnings
David Brownell [Tue, 26 Jul 2005 12:56:25 +0000 (05:56 -0700)]
[PATCH] ARM: OMAP: mmc MODULE_ALIAS, warnings

As with OHCI, the module name and device name differ, so to
coldplug a MODULE_ALIAS is needed.  Plus cope with a recent
API change, removing compile warnings (and oops if you use
the sysfs attributes).

Use DRIVER_NAME more, including as a MODULE_ALIAS so that coldplug
can work by scanning /sys/devices/platform and just modprobing.

Cope with some driver model changes that promote shared attribute
methods.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.ne>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years agoARM: OMAP: Comment out omap_init_i2c
Tony Lindgren [Tue, 26 Jul 2005 12:45:28 +0000 (05:45 -0700)]
ARM: OMAP: Comment out omap_init_i2c

Fixed compile as omap_init_i2c() is still missing.

19 years ago[PATCH] ARM: OMAP: make Mistral support explicit
David Brownell [Tue, 26 Jul 2005 12:36:18 +0000 (05:36 -0700)]
[PATCH] ARM: OMAP: make Mistral support explicit

This starts packaging support for the Mistral board and its devices
separately from OSK framebuffer support, and supports the "wakeup"
button (SW1) on that board.  This involved some mux fixes, both for
the MicroWire stuff (!) and for MPUIO2.

There's still a lot more to be done ... currently the board-specific
setup for the LCD, keypad, touchscreen, and so forth is scattered
throughout several drivers, rather than gathered in one place where
it's more naturally updated to match board revisions (or replaced
for folk using different UI boards).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: RTC
David Brownell [Tue, 26 Jul 2005 11:38:37 +0000 (04:38 -0700)]
[PATCH] ARM: OMAP: RTC

Teach the RTC driver how to work with the driver model;
reserve physical memory addresses, not virtual I/O ones

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: Watchdog
David Brownell [Tue, 26 Jul 2005 10:36:59 +0000 (03:36 -0700)]
[PATCH] ARM: OMAP: Watchdog

Teach the OMAP watchdog driver about the driver model, including
defining a shutdown method (to stop the timer before kexec etc)
and suspend/resume methods (for system sleep states).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: RTC cleanups
David Brownell [Tue, 26 Jul 2005 10:32:46 +0000 (03:32 -0700)]
[PATCH] ARM: OMAP: RTC cleanups

The big win here is a shrink of runtime code size, but again there's
the usual MODULE_ALIAS_MISCDEV and sparse stuff and more traditional
coding style.

RTC driver cleanups:

    - Various "sparse" fixes
    - Reduce some pointless code duplication
    - Add a MODULE_ALIAS_MISCDEV (supports KMOD)
    - Style and other code cleanups

Object code shrinks by almost 800 bytes.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: WDT cleanups
David Brownell [Tue, 26 Jul 2005 10:31:22 +0000 (03:31 -0700)]
[PATCH] ARM: OMAP: WDT cleanups

Various cleanups to the OMAP watchdog driver:

    * match other watchdog drivers
- file name is /dev/watchdog, as known by watchdog tools
- module alias as the watchdog miscdev (for KMOD)
- warn if the NOWAYOUT logic ever triggers
- default to 60 second timeout, per standard watchdog package
    * update limits:
- allow much larger timeouts than 32 seconds (up to 1 day)
- set up the prescaler (timeouts could trigger after months)
    * autogate the interface clock
    * misc stuff:
- comment updates
- move clock get/put to init/exit sections
- "sparse" fixes
- ... etc

So among other things the busybox "watchdog" command is now unlikely to
reboot right away using its default timeout, since the kernel default
is no longer so unusually short.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years agoARM: OMAP: Added missing line break that caused I2C patch to fail.
Tony Lindgren [Tue, 26 Jul 2005 08:38:52 +0000 (01:38 -0700)]
ARM: OMAP: Added missing line break that caused I2C patch to fail.

Added missing line break that caused I2C patch to fail.

19 years ago[PATCH] ARM: OMAP: IR
David Brownell [Tue, 26 Jul 2005 08:19:35 +0000 (01:19 -0700)]
[PATCH] ARM: OMAP: IR

Makes IR driver stop defining and registering its own platform_device.
Also make it properly declare its DMA capability.

Issues noted with IR driver:  DMA should just map/unmap SKB data;
no UART1 support; SIR/MIR/FIR selection uses board-specific code.
And there's no OMAP_TAG saying whether IRDA is even relevant.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: I2C cleanups
David Brownell [Tue, 26 Jul 2005 08:10:40 +0000 (01:10 -0700)]
[PATCH] ARM: OMAP: I2C cleanups

I2C driver cleanups, shrinking object code by a bit over 1KB:

    * cleanup debug-only code
- remove the scan code ... doesn't work, among other things
- default debug (and scan) code to "off";
- reduce (ab)use of driver-specific printk wrappers;
    * comments:
- correct and/or cleanup;
- remove internal changelog (that's for GIT, BK, CVS, etc);
    * move all MODULE_* stuff to conventional locations;
    * fix some of the whitespace problems

Plus small bugfixes:

    * reserve physical memory addresses instead of virtual i/o ones;
    * define the adapter as supporting "I2C_CLASS_HWMON"
    * don't clobber driver state if reservation fails
    * check directly for I2C rev1 instead of omap1510 CPU;
    * using the right driver name in several places.
    * startup message info is no longer content-free

Plus start on the "sparse" fixes.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: ohci MODULE_ALIAS
David Brownell [Tue, 26 Jul 2005 07:57:42 +0000 (00:57 -0700)]
[PATCH] ARM: OMAP: ohci MODULE_ALIAS

Since the platform device and module name differ, this needs a
MODULE_ALIAS to support coldplug configurations.

Alias the "ohci-hcd" module as "ohci" so that coldplug works
when this driver module is being dynamically linked.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: ts-input.patch
David Brownell [Tue, 26 Jul 2005 07:55:34 +0000 (00:55 -0700)]
[PATCH] ARM: OMAP: ts-input.patch

Properly hook up the fake touchscreen device as the parent of the
touchscreen input device.  (No reason to have a broken sysfs tree.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
19 years ago[PATCH] ARM: OMAP: Check for host->cmd being null when card status error occured
Jarkko Lavinen [Tue, 26 Jul 2005 07:51:46 +0000 (00:51 -0700)]
[PATCH] ARM: OMAP: Check for host->cmd being null when card status error occured

Check for host->cmd being null when card status error occured.

Also, I think it is a bit more cleaner to put the STOP cmd workaround
handling under the general OMAP_MMC_STAT_CARD_ERR handling.

19 years ago[PATCH] ARM: OMAP: Add mux register N20_1610_GPIO11
Matthew Percival [Tue, 26 Jul 2005 07:40:08 +0000 (00:40 -0700)]
[PATCH] ARM: OMAP: Add mux register N20_1610_GPIO11

Mux related part from the owire patch.

19 years ago[ATM]: speedtch: Revert 86cf42e4e029b83110cf98692420239103363dbf
David S. Miller [Tue, 26 Jul 2005 02:54:35 +0000 (19:54 -0700)]
[ATM]: speedtch: Revert 86cf42e4e029b83110cf98692420239103363dbf

It was already fixed more sufficiently by Andrew Morton's
change 843c944fb86e5e31ee7b319172e657ea22301322.

Noted by Duncan Sands.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Update driver version and reldate.
David S. Miller [Mon, 25 Jul 2005 19:45:32 +0000 (12:45 -0700)]
[TG3]: Update driver version and reldate.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: add 5780 fiber support
Michael Chan [Mon, 25 Jul 2005 19:33:22 +0000 (12:33 -0700)]
[TG3]: add 5780 fiber support

Add 5780S support by adding a new tg3_setup_fiber_mii_phy() function and
a timer function for parallel link detection. 5780S uses standard MII
registers for 1000BaseX and runs in GMII mode as opposed to TBI mode on
older serdes chips.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: disallow jumbo TSO on 5780
Michael Chan [Mon, 25 Jul 2005 19:32:25 +0000 (12:32 -0700)]
[TG3]: disallow jumbo TSO on 5780

Disallow jumbo TSO on 5780 due to hardware restrictions.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: consolidate all DMA water mark settings
Michael Chan [Mon, 25 Jul 2005 19:31:48 +0000 (12:31 -0700)]
[TG3]: consolidate all DMA water mark settings

Consolidate all DMA watermark settings for standard and jumbo frames on
all chips in tg3_init_bufmgr_config() and add new settings for 5780.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: add variable buffer size for standard ring
Michael Chan [Mon, 25 Jul 2005 19:31:17 +0000 (12:31 -0700)]
[TG3]: add variable buffer size for standard ring

Add a new rx_pkt_buf_sz to the tg3 structure to support variable buffer
sizes on the standard ring.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: add 5780 basic jumbo frame support
Michael Chan [Mon, 25 Jul 2005 19:30:38 +0000 (12:30 -0700)]
[TG3]: add 5780 basic jumbo frame support

Add basic jumbo frames support for 5780. This chip supports jumbo frames
on the standard receive ring without the jumbo ring. The
TG3_FLAG_JUMBO_ENABLE is changed to TG3_FLAG_JUMBO_RING_ENABLE to
indicate using the jumbo ring on 5704 and older chips. A new
TG3_FLG2_JUMBO_CAPABLE flag is added to indicate jumbo frames support
with or without the jumbo ring.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: add 5780 basic support
Michael Chan [Mon, 25 Jul 2005 19:29:19 +0000 (12:29 -0700)]
[TG3]: add 5780 basic support

Add 5780 PCI IDs, chip IDs, and other basic support.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Mon, 25 Jul 2005 03:39:30 +0000 (20:39 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Mon, 25 Jul 2005 03:38:44 +0000 (20:38 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

19 years ago[EMATCH]: Remove feature ifdefs in meta ematch.
Patrick McHardy [Mon, 25 Jul 2005 02:44:23 +0000 (19:44 -0700)]
[EMATCH]: Remove feature ifdefs in meta ematch.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC64]: Move syscall success and newchild state out of thread flags.
David S. Miller [Mon, 25 Jul 2005 02:36:26 +0000 (19:36 -0700)]
[SPARC64]: Move syscall success and newchild state out of thread flags.

These two bits were accesses non-atomically from assembler
code.  So, in order to eliminate any potential races resulting
from that, move these pieces of state into two bytes elsewhere
in struct thread_info.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC64]: Privatize sun5_timer.
David S. Miller [Mon, 25 Jul 2005 02:36:13 +0000 (19:36 -0700)]
[SPARC64]: Privatize sun5_timer.

It is only used by some localized code in irq.c, and also
delete enable_prom_timer() as that is totally unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC64]: Kill totally unused inline functions from asm/spitfire.h
David S. Miller [Mon, 25 Jul 2005 02:35:56 +0000 (19:35 -0700)]
[SPARC64]: Kill totally unused inline functions from asm/spitfire.h

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC64]: Simplify asm/rwsem.h slightly.
David S. Miller [Mon, 25 Jul 2005 02:35:42 +0000 (19:35 -0700)]
[SPARC64]: Simplify asm/rwsem.h slightly.

rwsem_atomic_update and rwsem_atomic_add can be implemented
straightly using atomic_*() routines.

Also, rwsem_cmpxchgw() is totally unused, kill it.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC64]: Non-atomic bitops do not need volatile operations
David S. Miller [Mon, 25 Jul 2005 02:35:28 +0000 (19:35 -0700)]
[SPARC64]: Non-atomic bitops do not need volatile operations

Noticed this while comparing sparc64's bitops.h to ppc64's.
We can cast the volatile memory argument to be non-volatile.

While we're here, __inline__ --> inline.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC]: Fix __KERNEL_SYSCALLS__ defining in envctrl.c and bbc_envctrl.c
David S. Miller [Mon, 25 Jul 2005 02:35:08 +0000 (19:35 -0700)]
[SPARC]: Fix __KERNEL_SYSCALLS__ defining in envctrl.c and bbc_envctrl.c

It needs to happen before any header includes because nowadays
some things implicitly include asm/unistd.h which ends up being
before the __KERNEL_SYSCALLS__ define gets done.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC]: sbus/vfc_i2c: remove sleep_on() usage
Nishanth Aravamudan [Mon, 25 Jul 2005 02:34:47 +0000 (19:34 -0700)]
[SPARC]: sbus/vfc_i2c: remove sleep_on() usage

Use wait-queue directly instead of the deprecated sleep_on()
function. This required adding a local wait-queue. Also use new (added in
separate patch to K-J) usecs to jiffies function to convert value.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible()
Nishanth Aravamudan [Mon, 25 Jul 2005 02:34:33 +0000 (19:34 -0700)]
[SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible()

Use msleep_interruptible() instead of schedule_timeout() to guarantee
the task delays as expected. Change the units of poll_interval to
msecs as it is only used in this delay.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[SPARC]: sbus/aurora: replace schedule_timeout() with msleep_interruptible()
Nishanth Aravamudan [Mon, 25 Jul 2005 02:34:19 +0000 (19:34 -0700)]
[SPARC]: sbus/aurora: replace schedule_timeout() with msleep_interruptible()

Use msleep_interruptible() instead of
schedule_timeout() to guarantee the task delays as expected.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
19 years ago[SPARC]: Remvoe APM_RTC_IS_GMT from config.
Adrian Bunk [Mon, 25 Jul 2005 02:33:55 +0000 (19:33 -0700)]
[SPARC]: Remvoe APM_RTC_IS_GMT from config.

I can't see any effect of this option outside the i386-specific APM code.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>