Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

microblaze_v8: device.h param.h topology.h

Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: John Linn <john.linn@xilinx.com>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>

+62
+21
arch/microblaze/include/asm/device.h
··· 1 + /* 2 + * Arch specific extensions to struct device 3 + * 4 + * This file is subject to the terms and conditions of the GNU General Public 5 + * License v2. See the file "COPYING" in the main directory of this archive 6 + * for more details. 7 + */ 8 + 9 + #ifndef _ASM_MICROBLAZE_DEVICE_H 10 + #define _ASM_MICROBLAZE_DEVICE_H 11 + 12 + struct device_node; 13 + 14 + struct dev_archdata { 15 + /* Optional pointer to an OF device node */ 16 + struct device_node *of_node; 17 + }; 18 + 19 + #endif /* _ASM_MICROBLAZE_DEVICE_H */ 20 + 21 +
+30
arch/microblaze/include/asm/param.h
··· 1 + /* 2 + * Copyright (C) 2006 Atmark Techno, Inc. 3 + * 4 + * This file is subject to the terms and conditions of the GNU General Public 5 + * License. See the file "COPYING" in the main directory of this archive 6 + * for more details. 7 + */ 8 + 9 + #ifndef _ASM_MICROBLAZE_PARAM_H 10 + #define _ASM_MICROBLAZE_PARAM_H 11 + 12 + #ifdef __KERNEL__ 13 + #define HZ CONFIG_HZ /* internal kernel timer frequency */ 14 + #define USER_HZ 100 /* for user interfaces in "ticks" */ 15 + #define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ 16 + #endif /* __KERNEL__ */ 17 + 18 + #ifndef HZ 19 + #define HZ 100 20 + #endif 21 + 22 + #define EXEC_PAGESIZE 4096 23 + 24 + #ifndef NOGROUP 25 + #define NOGROUP (-1) 26 + #endif 27 + 28 + #define MAXHOSTNAMELEN 64 /* max length of hostname */ 29 + 30 + #endif /* _ASM_MICROBLAZE_PARAM_H */
+11
arch/microblaze/include/asm/topology.h
··· 1 + #include <asm-generic/topology.h> 2 + 3 + #ifndef _ASM_MICROBLAZE_TOPOLOGY_H 4 + #define _ASM_MICROBLAZE_TOPOLOGY_H 5 + 6 + struct device_node; 7 + static inline int of_node_to_nid(struct device_node *device) 8 + { 9 + return 0; 10 + } 11 + #endif /* _ASM_MICROBLAZE_TOPOLOGY_H */