aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-04 13:26:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-04 13:26:41 +0000
commit09a67f8dcea721bbf4d3df28e019eb084ff946dc (patch)
tree28ef9a3caa5d82d88a4a595538d122d9db9bf73e /scripts/patch-kernel.sh
parent2d68d2ab36ce2ca2e647e8165dde7e1526b19433 (diff)
downloadupstream-09a67f8dcea721bbf4d3df28e019eb084ff946dc.tar.gz
upstream-09a67f8dcea721bbf4d3df28e019eb084ff946dc.tar.bz2
upstream-09a67f8dcea721bbf4d3df28e019eb084ff946dc.zip
fix a race condition with dynamic interfaces and firewalling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/patch-kernel.sh')
0 files changed, 0 insertions, 0 deletions
'>110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
/*
 * sysfs.h - definitions for the device driver filesystem
 *
 * Copyright (c) 2001,2002 Patrick Mochel
 * Copyright (c) 2004 Silicon Graphics, Inc.
 *
 * Please see Documentation/filesystems/sysfs.txt for more information.
 */

#ifndef _SYSFS_H_
#define _SYSFS_H_

#include <linux/compiler.h>
#include <asm/atomic.h>

struct kobject;
struct module;

struct attribute {
	const char		* name;
	struct module 		* owner;
	mode_t			mode;
};

struct attribute_group {
	const char		* name;
	struct attribute	** attrs;
};



/**
 * Use these macros to make defining attributes easier. See include/linux/device.h
 * for examples..
 */

#define __ATTR(_name,_mode,_show,_store) { \
	.attr = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE },	\
	.show	= _show,					\
	.store	= _store,					\
}

#define __ATTR_RO(_name) { \
	.attr	= { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE },	\
	.show	= _name##_show,	\
}

#define __ATTR_NULL { .attr = { .name = NULL } }

#define attr_name(_attr) (_attr).attr.name

struct vm_area_struct;

struct bin_attribute {
	struct attribute	attr;