summaryrefstree
path: root/kernel/drivers/crypto/fmp/last_file.c
blob: 3baede3aa5e7d254f9d4441eea2a2799c979a5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Last file for Exynos FMP FIPS integrity check
 *
 * Copyright (C) 2015 Samsung Electronics Co., Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#include <linux/init.h>

__attribute__ ((section(".rodata"), unused))
const unsigned char last_fmp_rodata = 0x20;

__attribute__ ((section(".text"), unused))
void last_fmp_text(void){}

#ifdef CC_USE_CLANG
__attribute__ ((section(".init.text"), unused))
#else
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
#endif
void last_fmp_init(void){};