You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] include/linux/soundcard.h: endianness fix
Fixes for big-endian systems in soundcard.h and awe_voice.h This patch fixes the AFMT_S16_NE (include/linux/soundcard.h) and AWE_PATCH (awe_voice.h) macros on big-endian systems. It also moves _PATCHKEY into a new file, patchkey.h, in order to remove a duplicate definition of it from awe_voice.h. Signed-off-by: Stuart Brady <sdbrady@ntlworld.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
42d77c7017
commit
60d300c02f
@@ -29,9 +29,9 @@
|
||||
#define SAMPLE_TYPE_AWE32 0x20
|
||||
#endif
|
||||
|
||||
#ifndef _PATCHKEY
|
||||
#define _PATCHKEY(id) ((id<<8)|0xfd)
|
||||
#endif
|
||||
#define _LINUX_PATCHKEY_H_INDIRECT
|
||||
#include <linux/patchkey.h>
|
||||
#undef _LINUX_PATCHKEY_H_INDIRECT
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
* patch information record
|
||||
|
||||
Reference in New Issue
Block a user