diff options
Diffstat (limited to 'libiptc/libiptc.c')
-rw-r--r-- | libiptc/libiptc.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index feb4379c..574cc0ab 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -2170,22 +2170,6 @@ TC_COMMIT(TC_HANDLE_T *handle) } } - -#ifdef KERNEL_64_USERSPACE_32 - { - /* Kernel will think that pointer should be 64-bits, and get - padding. So we accomodate here (assumption: alignment of - `counters' is on 64-bit boundary). */ - u_int64_t *kernptr = (u_int64_t *)&newcounters->counters; - if ((unsigned long)&newcounters->counters % 8 != 0) { - fprintf(stderr, - "counters alignment incorrect! Mail rusty!\n"); - abort(); - } - *kernptr = newcounters->counters; - } -#endif /* KERNEL_64_USERSPACE_32 */ - #ifdef IPTC_DEBUG2 { int fd = open("/tmp/libiptc-so_set_add_counters.blob", |