Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95302
b: refs/heads/master
c: 735643e
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed Apr 30, 2008
1 parent e3644fa commit 2ec4727
Show file tree
Hide file tree
Showing 42 changed files with 2 additions and 131 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71cc2c2152170b8166f59abb0604dc62073aeb92
refs/heads/master: 735643ee6cc5249bfac07fcad0946a5e7aff4423
3 changes: 0 additions & 3 deletions trunk/include/linux/agp_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#ifndef _AGP_BACKEND_H
#define _AGP_BACKEND_H 1

#ifdef __KERNEL__

#ifndef TRUE
#define TRUE 1
#endif
Expand Down Expand Up @@ -111,5 +109,4 @@ extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
extern void agp_backend_release(struct agp_bridge_data *);
extern void agp_flush_chipset(struct agp_bridge_data *);

#endif /* __KERNEL__ */
#endif /* _AGP_BACKEND_H */
2 changes: 0 additions & 2 deletions trunk/include/linux/cdev.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ifndef _LINUX_CDEV_H
#define _LINUX_CDEV_H
#ifdef __KERNEL__

#include <linux/kobject.h>
#include <linux/kdev_t.h>
Expand Down Expand Up @@ -34,4 +33,3 @@ void cd_forget(struct inode *);
extern struct backing_dev_info directly_mappable_cdev_bdi;

#endif
#endif
2 changes: 0 additions & 2 deletions trunk/include/linux/coda_fs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#ifndef _LINUX_CODA_FS_I
#define _LINUX_CODA_FS_I

#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/list.h>
#include <linux/coda.h>
Expand Down Expand Up @@ -52,4 +51,3 @@ struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb);
void coda_replace_fid(struct inode *, struct CodaFid *, struct CodaFid *);

#endif
#endif
3 changes: 1 addition & 2 deletions trunk/include/linux/concap.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#ifndef _LINUX_CONCAP_H
#define _LINUX_CONCAP_H
#ifdef __KERNEL__

#include <linux/skbuff.h>
#include <linux/netdevice.h>

Expand Down Expand Up @@ -110,4 +110,3 @@ extern int concap_nop(struct concap_proto *cprot);
*/
extern int concap_drop_skb(struct concap_proto *cprot, struct sk_buff *skb);
#endif
#endif
4 changes: 0 additions & 4 deletions trunk/include/linux/configfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#ifndef _CONFIGFS_H_
#define _CONFIGFS_H_

#ifdef __KERNEL__

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/list.h>
Expand Down Expand Up @@ -194,6 +192,4 @@ void configfs_unregister_subsystem(struct configfs_subsystem *subsys);
int configfs_depend_item(struct configfs_subsystem *subsys, struct config_item *target);
void configfs_undepend_item(struct configfs_subsystem *subsys, struct config_item *target);

#endif /* __KERNEL__ */

#endif /* _CONFIGFS_H_ */
2 changes: 0 additions & 2 deletions trunk/include/linux/crc-ccitt.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ifndef _LINUX_CRC_CCITT_H
#define _LINUX_CRC_CCITT_H
#ifdef __KERNEL__

#include <linux/types.h>

Expand All @@ -13,5 +12,4 @@ static inline u16 crc_ccitt_byte(u16 crc, const u8 c)
return (crc >> 8) ^ crc_ccitt_table[(crc ^ c) & 0xff];
}

#endif /* __KERNEL__ */
#endif /* _LINUX_CRC_CCITT_H */
4 changes: 0 additions & 4 deletions trunk/include/linux/dcache.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __LINUX_DCACHE_H
#define __LINUX_DCACHE_H

#ifdef __KERNEL__

#include <asm/atomic.h>
#include <linux/list.h>
#include <linux/spinlock.h>
Expand Down Expand Up @@ -365,6 +363,4 @@ extern struct dentry *lookup_create(struct nameidata *nd, int is_dir);

extern int sysctl_vfs_cache_pressure;

#endif /* __KERNEL__ */

#endif /* __LINUX_DCACHE_H */
3 changes: 0 additions & 3 deletions trunk/include/linux/device-mapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#ifndef _LINUX_DEVICE_MAPPER_H
#define _LINUX_DEVICE_MAPPER_H

#ifdef __KERNEL__

#include <linux/bio.h>

struct dm_target;
Expand Down Expand Up @@ -344,5 +342,4 @@ static inline unsigned long to_bytes(sector_t n)
return (n << SECTOR_SHIFT);
}

#endif /* __KERNEL__ */
#endif /* _LINUX_DEVICE_MAPPER_H */
5 changes: 0 additions & 5 deletions trunk/include/linux/eventfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
#ifndef _LINUX_EVENTFD_H
#define _LINUX_EVENTFD_H


#ifdef __KERNEL__

#ifdef CONFIG_EVENTFD

struct file *eventfd_fget(int fd);
Expand All @@ -24,7 +21,5 @@ static inline int eventfd_signal(struct file *file, int n)

#endif /* CONFIG_EVENTFD */

#endif /* __KERNEL__ */

#endif /* _LINUX_EVENTFD_H */

2 changes: 0 additions & 2 deletions trunk/include/linux/fsl_devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* option) any later version.
*/

#ifdef __KERNEL__
#ifndef _FSL_DEVICE_H_
#define _FSL_DEVICE_H_

Expand Down Expand Up @@ -127,4 +126,3 @@ struct mpc8xx_pcmcia_ops {
};

#endif /* _FSL_DEVICE_H_ */
#endif /* __KERNEL__ */
4 changes: 0 additions & 4 deletions trunk/include/linux/fsnotify.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
* (C) Copyright 2005 Robert Love
*/

#ifdef __KERNEL__

#include <linux/dnotify.h>
#include <linux/inotify.h>
#include <linux/audit.h>
Expand Down Expand Up @@ -296,6 +294,4 @@ static inline void fsnotify_oldname_free(const char *old_name)

#endif /* ! CONFIG_INOTIFY */

#endif /* __KERNEL__ */

#endif /* _LINUX_FS_NOTIFY_H */
2 changes: 0 additions & 2 deletions trunk/include/linux/hw_random.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#ifndef LINUX_HWRANDOM_H_
#define LINUX_HWRANDOM_H_
#ifdef __KERNEL__

#include <linux/types.h>
#include <linux/list.h>
Expand Down Expand Up @@ -46,5 +45,4 @@ extern int hwrng_register(struct hwrng *rng);
/** Unregister a Hardware Random Number Generator driver. */
extern void hwrng_unregister(struct hwrng *rng);

#endif /* __KERNEL__ */
#endif /* LINUX_HWRANDOM_H_ */
3 changes: 0 additions & 3 deletions trunk/include/linux/i2o.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#ifndef _I2O_H
#define _I2O_H

#ifdef __KERNEL__ /* This file to be included by kernel only */

#include <linux/i2o-dev.h>

/* How many different OSM's are we allowing */
Expand Down Expand Up @@ -1255,5 +1253,4 @@ extern void i2o_dump_message(struct i2o_message *);
extern void i2o_dump_hrt(struct i2o_controller *c);
extern void i2o_debug_state(struct i2o_controller *c);

#endif /* __KERNEL__ */
#endif /* _I2O_H */
3 changes: 0 additions & 3 deletions trunk/include/linux/if_macvlan.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#ifndef _LINUX_IF_MACVLAN_H
#define _LINUX_IF_MACVLAN_H

#ifdef __KERNEL__

extern struct sk_buff *(*macvlan_handle_frame_hook)(struct sk_buff *);

#endif /* __KERNEL__ */
#endif /* _LINUX_IF_MACVLAN_H */
2 changes: 0 additions & 2 deletions trunk/include/linux/inet.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@
#ifndef _LINUX_INET_H
#define _LINUX_INET_H

#ifdef __KERNEL__
#include <linux/types.h>

extern __be32 in_aton(const char *str);
extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
#endif
#endif /* _LINUX_INET_H */
7 changes: 0 additions & 7 deletions trunk/include/linux/isicom.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#ifndef _LINUX_ISICOM_H
#define _LINUX_ISICOM_H

/*#define ISICOM_DEBUG*/
/*#define ISICOM_DEBUG_DTR_RTS*/

#ifdef __KERNEL__

#define YES 1
#define NO 0

Expand Down Expand Up @@ -85,6 +80,4 @@

#define ISI_TXOK 0x0001

#endif /* __KERNEL__ */

#endif /* ISICOM_H */
5 changes: 0 additions & 5 deletions trunk/include/linux/kfifo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#ifndef _LINUX_KFIFO_H
#define _LINUX_KFIFO_H

#ifdef __KERNEL__

#include <linux/kernel.h>
#include <linux/spinlock.h>

Expand Down Expand Up @@ -151,7 +149,4 @@ static inline unsigned int kfifo_len(struct kfifo *fifo)
return ret;
}

#else
#warning "don't include kernel headers in userspace"
#endif /* __KERNEL__ */
#endif
4 changes: 0 additions & 4 deletions trunk/include/linux/kobj_map.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#ifdef __KERNEL__

#include <linux/mutex.h>

typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
Expand All @@ -10,5 +8,3 @@ int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
void kobj_unmap(struct kobj_map *, dev_t, unsigned long);
struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *);

#endif
3 changes: 0 additions & 3 deletions trunk/include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#ifndef _KOBJECT_H_
#define _KOBJECT_H_

#ifdef __KERNEL__

#include <linux/types.h>
#include <linux/list.h>
#include <linux/sysfs.h>
Expand Down Expand Up @@ -224,5 +222,4 @@ static inline int kobject_action_type(const char *buf, size_t count,
{ return -EINVAL; }
#endif

#endif /* __KERNEL__ */
#endif /* _KOBJECT_H_ */
3 changes: 0 additions & 3 deletions trunk/include/linux/kref.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#ifndef _KREF_H_
#define _KREF_H_

#ifdef __KERNEL__

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

Expand All @@ -29,5 +27,4 @@ void kref_init(struct kref *kref);
void kref_get(struct kref *kref);
int kref_put(struct kref *kref, void (*release) (struct kref *kref));

#endif /* __KERNEL__ */
#endif /* _KREF_H_ */
5 changes: 0 additions & 5 deletions trunk/include/linux/list.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H

#ifdef __KERNEL__

#include <linux/stddef.h>
#include <linux/poison.h>
#include <linux/prefetch.h>
Expand Down Expand Up @@ -983,7 +981,4 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev,
({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
pos = rcu_dereference(pos->next))

#else
#warning "don't include kernel headers in userspace"
#endif /* __KERNEL__ */
#endif
2 changes: 0 additions & 2 deletions trunk/include/linux/mmzone.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _LINUX_MMZONE_H
#define _LINUX_MMZONE_H

#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#ifndef __GENERATING_BOUNDS_H

Expand Down Expand Up @@ -1005,5 +1004,4 @@ unsigned long __init node_memmap_size_bytes(int, unsigned long, unsigned long);

#endif /* !__GENERATING_BOUNDS.H */
#endif /* !__ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif /* _LINUX_MMZONE_H */
2 changes: 0 additions & 2 deletions trunk/include/linux/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
#ifndef _LINUX_MOUNT_H
#define _LINUX_MOUNT_H
#ifdef __KERNEL__

#include <linux/types.h>
#include <linux/list.h>
Expand Down Expand Up @@ -114,5 +113,4 @@ extern void mark_mounts_for_expiry(struct list_head *mounts);
extern spinlock_t vfsmount_lock;
extern dev_t name_to_dev_t(char *name);

#endif
#endif /* _LINUX_MOUNT_H */
4 changes: 0 additions & 4 deletions trunk/include/linux/ncp_fs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#ifndef _LINUX_NCP_FS_I
#define _LINUX_NCP_FS_I

#ifdef __KERNEL__

/*
* This is the ncpfs part of the inode structure. This must contain
* all the information we need to work with an inode after creation.
Expand All @@ -28,6 +26,4 @@ struct ncp_inode_info {
struct inode vfs_inode;
};

#endif /* __KERNEL__ */

#endif /* _LINUX_NCP_FS_I */
2 changes: 0 additions & 2 deletions trunk/include/linux/of_device.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ifndef _LINUX_OF_DEVICE_H
#define _LINUX_OF_DEVICE_H
#ifdef __KERNEL__

#include <linux/device.h>
#include <linux/of.h>
Expand All @@ -25,5 +24,4 @@ static inline void of_device_free(struct of_device *dev)
of_release_dev(&dev->dev);
}

#endif /* __KERNEL__ */
#endif /* _LINUX_OF_DEVICE_H */
4 changes: 0 additions & 4 deletions trunk/include/linux/pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#ifndef _LINUX_PM_H
#define _LINUX_PM_H

#ifdef __KERNEL__

#include <linux/list.h>
#include <asm/atomic.h>
#include <asm/errno.h>
Expand Down Expand Up @@ -225,6 +223,4 @@ extern unsigned int pm_flags;
#define PM_APM 1
#define PM_ACPI 2

#endif /* __KERNEL__ */

#endif /* _LINUX_PM_H */
4 changes: 0 additions & 4 deletions trunk/include/linux/pnp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#ifndef _LINUX_PNP_H
#define _LINUX_PNP_H

#ifdef __KERNEL__

#include <linux/device.h>
#include <linux/list.h>
#include <linux/errno.h>
Expand Down Expand Up @@ -466,6 +464,4 @@ static inline void pnp_unregister_driver(struct pnp_driver *drv) { }
#define pnp_dbg(format, arg...) do {} while (0)
#endif

#endif /* __KERNEL__ */

#endif /* _LINUX_PNP_H */
Loading

0 comments on commit 2ec4727

Please sign in to comment.