~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to datapath/linux/compat/include/asm/hash.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _ASM_HASH_WRAPPER_H
2
 
#define _ASM_HASH_WRAPPER_H
3
 
 
4
 
#include <linux/version.h>
5
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
6
 
#include_next <asm/hash.h>
7
 
#else
8
 
 
9
 
struct fast_hash_ops;
10
 
#ifdef CONFIG_X86
11
 
extern void setup_arch_fast_hash(struct fast_hash_ops *ops);
12
 
#else
13
 
static inline void setup_arch_fast_hash(struct fast_hash_ops *ops) { }
14
 
#endif
15
 
 
16
 
#endif /* < 3.14 */
17
 
 
18
 
#endif /* _ASM_HASH_WRAPPER_H */