mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 03:35:42 +07:00
21 lines
375 B
C
21 lines
375 B
C
|
#ifndef __BUILD_SALT_H
|
||
|
#define __BUILD_SALT_H
|
||
|
|
||
|
#include <linux/elfnote.h>
|
||
|
|
||
|
#define LINUX_ELFNOTE_BUILD_SALT 0x100
|
||
|
|
||
|
#ifdef __ASSEMBLER__
|
||
|
|
||
|
#define BUILD_SALT \
|
||
|
ELFNOTE(Linux, LINUX_ELFNOTE_BUILD_SALT, .asciz CONFIG_BUILD_SALT)
|
||
|
|
||
|
#else
|
||
|
|
||
|
#define BUILD_SALT \
|
||
|
ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_SALT, CONFIG_BUILD_SALT)
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif /* __BUILD_SALT_H */
|