xtensa: remove s6000 variant and s6105 platform
[linux-2.6/btrfs-unstable.git] / include / keys / system_keyring.h
blob72665eb8069269f4e1b6726c8cd2d04374405ab8
1 /* System keyring containing trusted public keys.
3 * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
12 #ifndef _KEYS_SYSTEM_KEYRING_H
13 #define _KEYS_SYSTEM_KEYRING_H
15 #ifdef CONFIG_SYSTEM_TRUSTED_KEYRING
17 #include <linux/key.h>
19 extern struct key *system_trusted_keyring;
20 static inline struct key *get_system_trusted_keyring(void)
22 return system_trusted_keyring;
24 #else
25 static inline struct key *get_system_trusted_keyring(void)
27 return NULL;
29 #endif
31 #endif /* _KEYS_SYSTEM_KEYRING_H */