提交 dddfbaf8 编写于 作者: R Robert P. J. Day 提交者: Linus Torvalds

sysv fs: remove superfluous check for __GNUC__ compiler

Since <linux/sysv_fs.h> isn't exported to userspace, there is little
point checking that this is a GNU-compatible compiler.
Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
Acked-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 cedb27de
#ifndef _LINUX_SYSV_FS_H
#define _LINUX_SYSV_FS_H
#if defined(__GNUC__)
# define __packed2__ __attribute__((packed, aligned(2)))
#else
>> I want to scream! <<
#endif
#define __packed2__ __attribute__((packed, aligned(2)))
#ifndef __KERNEL__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册