On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote:> static int __init txt_sysfs_init(void)> +{> + if (!tboot_enabled())> + return -ENODEV;If there's a CPU flag that indicates tboot support, you should add amodalias for it in order to ensure that the module gets automaticallyloaded.-- Matthew Garrett | mjg59@srcf.ucam.org