~ubuntu-branches/ubuntu/trusty/kmod/trusty

« back to all changes in this revision

Viewing changes to testsuite/stripped-module.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-10-24 06:16:30 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131024061630-o87ipf2zxqtpigls
Tags: 15-0ubuntu1
* New upstream release. (See Debian #716739)
* Drop patches included upstream: dot_kcmdline, bad_alias_assertion,
  blacklist_aliased.
* Drop check_builtin_kver, this would only apply to lucid and is otherwise
  unnecessary.
* Drop --disable-shared/--enable-static, this got dropped in this version
  and isn't necessary any more. /bin/kmod does not dynamically link to
  libkmod by default now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _TESTSUITE_STRIPPED_MODULE_H
2
 
#define _TESTSUITE_STRIPPED_MODULE_H
 
1
#pragma once
3
2
 
4
3
enum module_state
5
4
{
13
12
};
14
13
 
15
14
#define MODULE_NAME_LEN (64 - sizeof(unsigned long))
 
15
 
16
16
struct module
17
17
{
18
18
        enum module_state state;
24
24
        char name[MODULE_NAME_LEN];
25
25
};
26
26
 
27
 
#endif
 
27
/*                                padding */
 
28
#define MODULE_NAME_OFFSET_64 4 + 4           + 2 * 8
 
29
#define MODULE_NAME_OFFSET_32 4 + 2 * 4