Skip to content

Commit 18d445d

Browse files
Saeed Mirzamohammadivijay-suman
authored andcommitted
uek: kabi: Fix build error for HIDE_INCLUDE macro
Expansion of the macro substitutes linux with 1. This corrects the definition when including linux/uek_kabi.h fatal error: 1/uek_kabi.h: No such file or directory 101 | # define UEK_KABI_HIDE_INCLUDE(_file) <linux/uek_kabi.h> Orabug: 37619141 Signed-off-by: Saeed Mirzamohammadi <[email protected]> Reviewed-by: Jack Vogel <[email protected]> Signed-off-by: Vijayendra Suman <[email protected]>
1 parent dbb3800 commit 18d445d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/linux/uek_kabi.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
#include <linux/kconfig.h>
2828
#include <linux/stringify.h>
2929

30+
#undef linux
31+
#define linux linux
32+
3033
/*
3134
* UEK_KABI_CONST
3235
* Adds a new const modifier to a function parameter preserving the old

0 commit comments

Comments
 (0)