diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-26 15:36:09 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-26 15:36:09 +0100 |
commit | 3ad25facec9b91d4fd178983ee53dde6c8ec4e44 (patch) | |
tree | 74a2c565aae3efa1ecf72b5c650a1cafcad93353 /xen/common/compat | |
parent | f00713a392de74c01d4dce27b4219446044b6c59 (diff) | |
download | xen-3ad25facec9b91d4fd178983ee53dde6c8ec4e44.tar.gz xen-3ad25facec9b91d4fd178983ee53dde6c8ec4e44.tar.bz2 xen-3ad25facec9b91d4fd178983ee53dde6c8ec4e44.zip |
acm: Remove unecessary compat shim from do_acm_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/compat')
-rw-r--r-- | xen/common/compat/acm_ops.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/xen/common/compat/acm_ops.c b/xen/common/compat/acm_ops.c deleted file mode 100644 index 28af1a8e6c..0000000000 --- a/xen/common/compat/acm_ops.c +++ /dev/null @@ -1,47 +0,0 @@ -/****************************************************************************** - * compat/acm_ops.c - */ - -#include <compat/acm.h> -#include <compat/acm_ops.h> - -#define COMPAT -#define ret_t int - -#define do_acm_op compat_acm_op - -static inline XEN_GUEST_HANDLE(void) acm_xlat_handle(COMPAT_HANDLE(void) cmp) -{ - XEN_GUEST_HANDLE(void) nat; - - guest_from_compat_handle(nat, cmp); - return nat; -} - -#define acm_setpolicy compat_acm_setpolicy -#define acm_set_policy(h, sz) acm_set_policy(acm_xlat_handle(h), sz) - -#define acm_getpolicy compat_acm_getpolicy -#define acm_get_policy(h, sz) acm_get_policy(acm_xlat_handle(h), sz) - -#define acm_dumpstats compat_acm_dumpstats -#define acm_dump_statistics(h, sz) acm_dump_statistics(acm_xlat_handle(h), sz) - -#define acm_getssid compat_acm_getssid -#define acm_get_ssid(r, h, sz) acm_get_ssid(r, acm_xlat_handle(h), sz) - -#define xen_acm_getdecision acm_getdecision -CHECK_acm_getdecision; -#undef xen_acm_getdecision - -#include "../acm_ops.c" - -/* - * Local variables: - * mode: C - * c-set-style: "BSD" - * c-basic-offset: 4 - * tab-width: 4 - * indent-tabs-mode: nil - * End: - */ |