"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/wrapper/genhd.h" between
lttng-modules-2.13.1.tar.bz2 and lttng-modules-2.13.2.tar.bz2

About: LTTng-modules (Linux Trace Toolkit Next Generation) is a system software package for correlated tracing of the Linux kernel, applications and libraries: This package contains the Linux kernel tracing modules.

genhd.h  (lttng-modules-2.13.1.tar.bz2):genhd.h  (lttng-modules-2.13.2.tar.bz2)
skipping to change at line 17 skipping to change at line 17
* kernel that exports this function to GPL modules. * kernel that exports this function to GPL modules.
* *
* Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> * Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/ */
#ifndef _LTTNG_WRAPPER_GENHD_H #ifndef _LTTNG_WRAPPER_GENHD_H
#define _LTTNG_WRAPPER_GENHD_H #define _LTTNG_WRAPPER_GENHD_H
#include <linux/genhd.h> #include <linux/genhd.h>
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
#define LTTNG_GENHD_FL_HIDDEN GENHD_FL_HIDDEN
#else
#define LTTNG_GENHD_FL_HIDDEN GENHD_FL_SUPPRESS_PARTITION_INFO
#endif
#ifdef CONFIG_KALLSYMS_ALL #ifdef CONFIG_KALLSYMS_ALL
#include <linux/kallsyms.h> #include <linux/kallsyms.h>
#include <wrapper/kallsyms.h> #include <wrapper/kallsyms.h>
static inline static inline
struct class *wrapper_get_block_class(void) struct class *wrapper_get_block_class(void)
{ {
struct class *ptr_block_class; struct class *ptr_block_class;
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)