• Takashi Iwai's avatar
    [PATCH] sparc ALSA fix · 3e9e3e71
    Takashi Iwai authored
    sound/core/pcm_native.c was assuming that all architectures implement
    io_remap_page_range() in the same way.  They don't, so the sparc64 build
    broke.
    
    mmap callback is added to PCM ops.  The driver can implement its own mmap
    method.
    
    Also, mmapping of the status and control records is available only on known
    coherent architectures now.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    3e9e3e71
rme96.c 67.1 KB