kernel-ark/drivers/char
Roland Dreier 8b150478ae [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses
Change the phys_mem_access_prot() function to take a pfn instead of an
address.  This allows mmap64() to work on /dev/mem for addresses above 4G
on 32-bit architectures.  We start with a pfn in mmap_mem(), so there's no
need to convert to an address; in fact, it's actively bad, since the
conversion can overflow when the address is above 4G.

Similarly fix the ppc32 page_is_ram() function to avoid a conversion to an
address by directly comparing to max_pfn.  Working with max_pfn instead of
high_memory fixes page_is_ram() to give the right answer for highmem pages.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-10-29 14:25:49 +10:00
..
agp [IA64] Remove warnings for gcc 4.0 IA64 compilation. 2005-09-16 09:45:27 -07:00
drm [PATCH] fix radeon_cp_init_ring_buffer() 2005-10-26 10:46:19 -07:00
ftape [PATCH] drivers/char: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
ip2 [PATCH] drivers/char: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
ipmi [PATCH] Add IPMI poweroff control to sysfs 2005-09-28 07:46:41 -07:00
mwave
pcmcia [PATCH] synclink_cs add statistics clear 2005-09-10 10:06:22 -07:00
rio
tpm Merge linux-2.6 with linux-acpi-2.6 2005-09-08 01:45:47 -04:00
watchdog Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2005-10-08 14:58:25 -07:00
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
amiserial.c [PATCH] Remove unnecessary check_region references in comments 2005-09-13 08:22:29 -07:00
applicom.c [PATCH] applicom: fix error handling 2005-09-10 10:06:25 -07:00
applicom.h
cd1865.h
ChangeLog
consolemap.c
cp437.uni
cyclades.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
decserial.c
defkeymap.c_shipped
defkeymap.map
digi1.h [PATCH] Clean up the old digi support and rescue it 2005-09-07 16:57:20 -07:00
digi.h
digiFep1.h [PATCH] Clean up the old digi support and rescue it 2005-09-07 16:57:20 -07:00
digiPCI.h
ds1286.c
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
ec3104_keyb.c
efirtc.c
epca.c [PATCH] epca iomem annotations + several missing readw() 2005-09-16 10:38:10 -07:00
epca.h [PATCH] epca iomem annotations + several missing readw() 2005-09-16 10:38:10 -07:00
epcaconfig.h
esp.c
generic_nvram.c
generic_serial.c
genrtc.c
hangcheck-timer.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
hpet.c [PATCH] Fix mmap() of /dev/hpet 2005-09-22 22:17:34 -07:00
hvc_console.c [PATCH] hvc_console: start kernel thread before registering tty 2005-09-14 14:34:17 -07:00
hvc_vio.c powerpc: don't duplicate name between vio_driver and device_driver 2005-10-24 15:42:12 +10:00
hvcs.c powerpc: set the driver.owner field for all vio drivers 2005-10-24 16:59:13 +10:00
hvsi.c
hw_random.c [PATCH] drivers/char: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
i8k.c
ip2.c
ip2main.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
ip27-rtc.c
isicom.c
istallion.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
ite_gpio.c
Kconfig [PATCH] gratuitous includes of asm/serial.h 2005-09-09 10:31:58 -07:00
keyboard.c Input: clean up whitespace and formatting in drivers/char/keyboard.c 2005-09-10 12:03:38 -05:00
lcd.c [PATCH] drivers/char/lcd.c: misc_register() can fail 2005-09-10 10:06:25 -07:00
lcd.h
lp.c [PATCH] drivers/char/lp.c : Use of the time_after() macro 2005-09-10 10:06:31 -07:00
Makefile
mbcs.c [IA64] mbcs_init() should give up unless running on sn2 2005-10-04 09:39:18 -07:00
mbcs.h
mem.c [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses 2005-10-29 14:25:49 +10:00
misc.c [PATCH] move m68k rtc drivers over to initcalls 2005-09-07 16:57:23 -07:00
mmtimer.c
moxa.c
mxser.c [PATCH] drivers/char: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
mxser.h
n_hdlc.c
n_r3964.c [PATCH] n_r3964 mod_timer() fix 2005-10-17 17:03:57 -07:00
n_tty.c [PATCH] char/n_tty: fix sparse warnings (__nocast type) 2005-09-10 10:06:26 -07:00
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
ppdev.c
pty.c [PATCH] pty_chars_in_buffer oops fix 2005-09-09 13:57:31 -07:00
qtronix.c
qtronixmap.c_shipped
qtronixmap.map
random.c
raw.c
riscom8_reg.h
riscom8.c
riscom8.h
rocket_int.h
rocket.c
rocket.h
rtc.c [RTC]: Use SA_SHIRQ in sparc specific code. 2005-09-05 23:33:05 -07:00
s3c2410-rtc.c [ARM] 2963/1: S3C2410 - add .owner field to device_driver 2005-10-10 10:20:06 +01:00
scan_keyb.c
scan_keyb.h
scc.h
scx200_gpio.c
selection.c
ser_a2232.c
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c
snsc_event.c
snsc.c
snsc.h
sonypi.c [PATCH] sonypi: remove obsolete event 2005-09-07 16:57:24 -07:00
specialix_io8.h
specialix.c
stallion.c
sx.c
sx.h
sxboards.h
sxwindow.h
synclink.c [PATCH] synclink.c: add loopback to async mode 2005-09-09 13:57:34 -07:00
synclinkmp.c [PATCH] synclinkmp.c: fix async internal loopback 2005-09-09 13:57:35 -07:00
sysrq.c
tb0219.c
tipar.c
toshiba.c
tty_io.c [PATCH] files: lock-free fd look-up 2005-09-09 13:57:55 -07:00
tty_ioctl.c
vc_screen.c
viocons.c
viotape.c powerpc: set the driver.owner field for all vio drivers 2005-10-24 16:59:13 +10:00
vme_scc.c
vr41xx_giu.c
vr41xx_rtc.c
vt_ioctl.c
vt.c [PATCH] vc: Use correct size on buffer copy in vc_resize 2005-09-15 08:24:09 -07:00