Skip to content

Commit

Permalink
Address linux-commit 5f60d5f by conditional include.
Browse files Browse the repository at this point in the history
  • Loading branch information
tycho-kirchner committed Feb 5, 2025
1 parent b5fb8dc commit e6857cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kernel/xxhash_shournalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@
* - xxHash source repository: https://github.com/Cyan4973/xxHash
*/

// See commit 5f60d5f "move asm/unaligned.h to linux/unaligned.h"
#if __has_include(<asm/unaligned.h>)
#include <asm/unaligned.h>
#else
#include <linux/unaligned.h>
#endif

#include <linux/errno.h>
#include <linux/compiler.h>
#include <linux/kernel.h>
Expand Down

0 comments on commit e6857cf

Please # to comment.