-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since we no longer (want to) export any libc symbols the _user portions of any drivers need to be built into image rather than the module. I missed this for the watchdog. Fix the watchdog accordingly. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
- Loading branch information
Johannes Berg
authored and
Richard Weinberger
committed
May 9, 2023
1 parent
ac9a786
commit 73a23d7
Showing
5 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
#ifndef UM_WATCHDOG_H | ||
#define UM_WATCHDOG_H | ||
|
||
int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock); | ||
void stop_watchdog(int in_fd, int out_fd); | ||
int ping_watchdog(int fd); | ||
|
||
#endif /* UM_WATCHDOG_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
#include <linux/export.h> | ||
#include "harddog.h" | ||
|
||
#if IS_MODULE(CONFIG_UML_WATCHDOG) | ||
EXPORT_SYMBOL(start_watchdog); | ||
EXPORT_SYMBOL(stop_watchdog); | ||
EXPORT_SYMBOL(ping_watchdog); | ||
#endif |