parisc: Use the generic devmem_is_allowed()
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
f286303286
commit
61c439439c
|
@ -35,6 +35,7 @@ config PARISC
|
|||
select GENERIC_SMP_IDLE_THREAD
|
||||
select GENERIC_CPU_DEVICES
|
||||
select GENERIC_STRNCPY_FROM_USER
|
||||
select GENERIC_LIB_DEVMEM_IS_ALLOWED
|
||||
select SYSCTL_ARCH_UNALIGN_ALLOW
|
||||
select SYSCTL_EXCEPTION_TRACE
|
||||
select HAVE_MOD_ARCH_SPECIFIC
|
||||
|
|
|
@ -321,4 +321,6 @@ extern void iowrite64be(u64 val, void __iomem *addr);
|
|||
*/
|
||||
#define xlate_dev_kmem_ptr(p) p
|
||||
|
||||
extern int devmem_is_allowed(unsigned long pfn);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue