X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fcore.h;h=846852299306e8623114a2cdf6b958561bf1c811;hb=6f71f83334a552167ccbbd42fe5dd979428c89e4;hp=2aab6f7c168142152e8b171ff210491693dd15b8;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/include/sound/core.h b/include/sound/core.h index 2aab6f7c1..846852299 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -307,8 +307,8 @@ void snd_hidden_vfree(void *obj); #define vfree_nocheck(obj) vfree(obj) #endif char *snd_kmalloc_strdup(const char *string, int flags); -int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count); -int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count); +int copy_to_user_fromio(void __user *dst, unsigned long src, size_t count); +int copy_from_user_toio(unsigned long dst, const void __user *src, size_t count); /* init.c */ @@ -417,7 +417,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) */ #define snd_assert(expr, args...) do {\ if (unlikely(!(expr))) { \ - snd_printk(KERN_ERR "BUG? (%s) (called from %p)\n", __ASTRING__(expr), __builtin_return_address(0));\ + snd_printk("BUG? (%s) (called from %p)\n", __ASTRING__(expr), __builtin_return_address(0));\ args;\ }\ } while (0) @@ -433,7 +433,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) */ #define snd_runtime_check(expr, args...) do {\ if (unlikely(!(expr))) { \ - snd_printk(KERN_ERR "ERROR (%s) (called from %p)\n", __ASTRING__(expr), __builtin_return_address(0));\ + snd_printk("ERROR (%s) (called from %p)\n", __ASTRING__(expr), __builtin_return_address(0));\ args;\ }\ } while (0)