hash.c (7db7d9f369a47e1a46f93c320b45cb89e81723e7) | hash.c (b92b94ac732f5c83c60be2825d8b5cec4dc469d3) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* Copyright (C) 2006-2017 B.A.T.M.A.N. contributors: 3 * 4 * Simon Wunderlich, Marek Lindner 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of version 2 of the GNU General Public 8 * License as published by the Free Software Foundation. --- 5 unchanged lines hidden (view full) --- 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 */ 18 19#include "hash.h" 20#include "main.h" 21 | 1// SPDX-License-Identifier: GPL-2.0 2/* Copyright (C) 2006-2017 B.A.T.M.A.N. contributors: 3 * 4 * Simon Wunderlich, Marek Lindner 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of version 2 of the GNU General Public 8 * License as published by the Free Software Foundation. --- 5 unchanged lines hidden (view full) --- 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 */ 18 19#include "hash.h" 20#include "main.h" 21 |
22#include <linux/fs.h> | 22#include <linux/gfp.h> |
23#include <linux/lockdep.h> 24#include <linux/slab.h> 25 26/* clears the hash */ 27static void batadv_hash_init(struct batadv_hashtable *hash) 28{ 29 u32 i; 30 --- 51 unchanged lines hidden --- | 23#include <linux/lockdep.h> 24#include <linux/slab.h> 25 26/* clears the hash */ 27static void batadv_hash_init(struct batadv_hashtable *hash) 28{ 29 u32 i; 30 --- 51 unchanged lines hidden --- |