mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-09 04:00:10 +00:00
unaligned.h moved from asm/ to linux/
In v6.12-rc1-3-g5f60d5f6bbc1, asm/unaligned.h only included asm-generic/unaligned.h and that was cleaned up from architecture specific things. Everyone should now include linux/unaligned.h and the former include was removed. A quick peek at server.c shows that while included, it no longer uses any function from this header at all, so it can just be dropped. Signed-off-by: Auke Kok <auke.kok@versity.com>
This commit is contained in:
@@ -457,3 +457,11 @@ endif
|
||||
ifneq (,$(shell grep 'inline time64_t inode_get_atime_sec' include/linux/fs.h))
|
||||
ccflags-y += -DKC_FS_INODE_AM_TIME_ACCESSOR
|
||||
endif
|
||||
|
||||
#
|
||||
# v6.12-rc1-3-g5f60d5f6bbc1
|
||||
#
|
||||
# asm/unaligned.h replaced with linux/unaligned.h
|
||||
ifneq (,$(shell grep -s 'define __LINUX_UNALIGNED_H' include/linux/unaligned.h))
|
||||
ccflags-y += -DKC_HAVE__LINUX_UNALIGNED_H
|
||||
endif
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include <net/sock.h>
|
||||
#include <net/tcp.h>
|
||||
#include <linux/log2.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
#include "format.h"
|
||||
#include "counters.h"
|
||||
|
||||
@@ -18,7 +18,11 @@
|
||||
#include <linux/pagemap.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/sort.h>
|
||||
#ifdef KC_HAVE__LINUX_UNALIGNED_H
|
||||
#include <linux/unaligned.h>
|
||||
#else
|
||||
#include <asm/unaligned.h>
|
||||
#endif
|
||||
|
||||
#include "super.h"
|
||||
#include "format.h"
|
||||
|
||||
Reference in New Issue
Block a user