~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to arch/m68k/include/asm/io_no.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
#define IOMAP_NOCACHE_NONSER            2
145
145
#define IOMAP_WRITETHROUGH              3
146
146
 
147
 
extern void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag);
148
 
 
 
147
static inline void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
 
148
{
 
149
        return (void *) physaddr;
 
150
}
149
151
static inline void *ioremap(unsigned long physaddr, unsigned long size)
150
152
{
151
153
        return __ioremap(physaddr, size, IOMAP_NOCACHE_SER);
163
165
        return __ioremap(physaddr, size, IOMAP_FULL_CACHING);
164
166
}
165
167
 
166
 
extern void iounmap(void *addr);
 
168
#define iounmap(addr)   do { } while(0)
167
169
 
168
170
/*
169
171
 * Convert a physical pointer to a virtual kernel pointer for /dev/mem