Michael Hanselmann
e01af0384f
[PATCH] powermac: Combined fixes for backlight code
...
This patch fixes several problems:
- pmac_backlight_key() is called under interrupt context, and therefore
can't use mutexes or semaphores, so defer the backlight level for
later, as it's not critical (original code by Aristeu S. Rozanski F.
<aris@valeta.org>).
- Add exports for functions that might be called from modules
- Fix Kconfig depdencies on PMAC_BACKLIGHT.
- Fix locking issues on calls from inside the driver (reported by
Aristeu S. Rozanski F., too)
- Fix wrong calculation of backlight values in some of the drivers
- Replace pmac_backlight_key_up/down by inline functions
[akpm@osdl.org: fix function prototypes]
Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Acked-by: Aristeu S. Rozanski F. <aris@valeta.org>
Acked-by: Rene Nussbaumer <linux-kernel@killerfox.forkbomb.ch>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:20 -07:00
..
iseries
[POWERPC] Clean up it_lp_queue.h
2006-06-28 15:18:55 +10:00
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h
power: improve inline asm memory constraints
2006-07-08 15:00:28 -07:00
auxvec.h
backlight.h
[PATCH] powermac: Combined fixes for backlight code
2006-07-10 13:24:20 -07:00
bitops.h
power: improve inline asm memory constraints
2006-07-08 15:00:28 -07:00
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h
[POWERPC] Simplify the code defining the 64-bit CPU features
2006-06-28 15:19:03 +10:00
cputime.h
[PATCH] powerpc: implement missing jiffies64_to_cputime64()
2006-07-05 09:39:54 -07:00
current.h
dbdma.h
delay.h
[POWERPC] Fix mdelay badness on shared processor partitions
2006-06-21 15:01:33 +10:00
div64.h
dma-mapping.h
dma.h
eeh.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
eeh_event.h
elf.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
emergency-restart.h
errno.h
fcntl.h
firmware.h
floppy.h
[PATCH] irq-flags: POWERPC: Use the new IRQF_ constants
2006-07-02 13:58:47 -07:00
futex.h
grackle.h
hardirq.h
heathrow.h
hvcall.h
[POWERPC] check firmware state before suspending
2006-06-15 19:31:27 +10:00
hvconsole.h
hvcserver.h
hw_irq.h
[PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend()
2006-06-29 10:26:23 -07:00
i8259.h
[POWERPC] Add new interrupt mapping core and change platforms to use it
2006-07-03 21:36:01 +10:00
ibmebus.h
ide.h
immap_86xx.h
[POWERPC] Add 8641 Register space and IRQ definitions.
2006-06-21 15:01:28 +10:00
io.h
ioctl.h
ioctls.h
iommu.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
ipc.h
ipcbuf.h
ipic.h
irq.h
[PATCH] powerpc: fix trigger handling in the new irq code
2006-07-10 13:24:20 -07:00
irqflags.h
[PATCH] lockdep: irqtrace subsystem, core
2006-07-03 15:27:03 -07:00
Kbuild
Add Kbuild file for PowerPC 'make headers_install'
2006-06-18 12:17:47 +01:00
kdebug.h
[PATCH] Notify page fault call chain for powerpc
2006-06-26 09:58:22 -07:00
kdump.h
[POWERPC] kdump: Reserve the existing TCE mappings left by the first kernel
2006-06-28 11:59:46 +10:00
kexec.h
[POWERPC] Add the use of the firmware soft-reset-nmi to kdump.
2006-06-28 15:18:52 +10:00
keylargo.h
kmap_types.h
kprobes.h
[PATCH] Notify page fault call chain
2006-06-26 09:58:22 -07:00
linkage.h
lmb.h
local.h
lppaca.h
machdep.h
[POWERPC] Add new interrupt mapping core and change platforms to use it
2006-07-03 21:36:01 +10:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu.h
[POWERPC] powerpc: Initialise ppc_md htab pointers earlier
2006-06-28 11:59:47 +10:00
mmu_context.h
[POWERPC] Correct the MAX_CONTEXT definition
2006-06-29 16:16:15 +10:00
mmzone.h
module.h
mpc86xx.h
Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc
2006-06-28 16:10:53 +10:00
mpic.h
[POWERPC] Add new interrupt mapping core and change platforms to use it
2006-07-03 21:36:01 +10:00
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
typo fixes: mecanism -> mechanism
2006-06-30 18:20:44 +02:00
ohare.h
oprofile_impl.h
paca.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
page.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
page_32.h
page_64.h
param.h
parport.h
pci-bridge.h
[POWERPC] pcibus_to_node fixes
2006-06-15 19:31:26 +10:00
pci.h
[PATCH] 64bit resource: change pci core and arch code to use resource_size_t
2006-06-27 09:24:00 -07:00
percpu.h
[PATCH] lockdep: add per_cpu_offset()
2006-07-03 15:27:00 -07:00
pgalloc.h
pgtable-4k.h
powerpc: Use 64k pages without needing cache-inhibited large pages
2006-06-15 10:45:18 +10:00
pgtable-64k.h
powerpc: Use 64k pages without needing cache-inhibited large pages
2006-06-15 10:45:18 +10:00
pgtable.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
typo fixes: mecanism -> mechanism
2006-06-30 18:20:44 +02:00
pmc.h
poll.h
posix_types.h
ppc-pci.h
ppc_asm.h
processor.h
[POWERPC] disable floating point exceptions for init
2006-06-21 15:01:33 +10:00
prom.h
[POWERPC] Add new interrupt mapping core and change platforms to use it
2006-07-03 21:36:01 +10:00
pSeries_reconfig.h
ptrace.h
[PATCH] powerpc: enable PPC_PTRACE_[GS]ETREGS on ppc32
2006-06-09 21:20:51 +10:00
reg.h
[POWERPC] cell: add RAS support
2006-06-21 15:01:29 +10:00
reg_8xx.h
resource.h
rtas.h
[POWERPC] Setup RTAS values earlier, to enable rtas_call() earlier
2006-06-28 11:59:48 +10:00
rtc.h
rwsem.h
[PATCH] lockdep: remove RWSEM_DEBUG remnants
2006-07-03 15:27:01 -07:00
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
[PATCH] irq-flags: POWERPC: Use the new IRQF_ constants
2006-07-02 13:58:47 -07:00
smp.h
smu.h
socket.h
[AF_UNIX]: Datagram getpeersec
2006-06-29 16:58:06 -07:00
sockios.h
sparsemem.h
spinlock.h
spinlock_types.h
spu.h
[POWERPC] Add new interrupt mapping core and change platforms to use it
2006-07-03 21:36:01 +10:00
spu_csa.h
[POWERPC] spufs: one more fix for 64k pages
2006-06-21 15:01:32 +10:00
spu_priv1.h
[POWERPC] spufs: fix spu irq affinity setting
2006-06-21 15:01:31 +10:00
sstep.h
stat.h
statfs.h
string.h
synch.h
syscalls.h
systbl.h
[POWERPC] Unify ppc syscall tables
2006-06-21 15:01:32 +10:00
system.h
power: improve inline asm memory constraints
2006-07-08 15:00:28 -07:00
tce.h
termbits.h
[PATCH] Add CMSPAR to termbits.h for powerpc and alpha
2006-05-26 11:55:46 -07:00
termios.h
thread_info.h
time.h
[POWERPC] update asm-powerpc/time.h
2006-06-28 15:18:56 +10:00
timex.h
tlb.h
tlbflush.h
todc.h
[POWERPC] todc: add support for Time-Of-Day-Clock
2006-06-29 16:22:46 +10:00
topology.h
[PATCH] sched: mc/smt power savings sched policy
2006-06-27 17:32:45 -07:00
tsi108.h
[POWERPC] Add tsi108 pci and platform device data register function
2006-06-29 16:20:36 +10:00
types.h
uaccess.h
powerpc: Fix incorrect might_sleep in __get_user/__put_user on kernel addresses
2006-05-03 23:06:46 +10:00
ucontext.h
udbg.h
[POWERPC] Add udbg support for RTAS console
2006-06-28 11:59:48 +10:00
unaligned.h
uninorth.h
unistd.h
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
2006-05-24 09:22:21 +01:00
user.h
vdso.h
vdso_datapage.h
vga.h
[PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use
2006-06-22 15:05:58 -07:00
vio.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
2006-06-22 22:11:30 -07:00
xmon.h
xor.h