Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47605
b: refs/heads/master
c: 82ddcb0
h: refs/heads/master
i:
  47603: e36aa4c
v: v3
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed Feb 11, 2007
1 parent 063eba0 commit 8997c7b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 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: e3e8a75d2acfc61ebf25524666a0a2c6abb0620c
refs/heads/master: 82ddcb040570411fc2d421d96b3e69711c670328
2 changes: 0 additions & 2 deletions trunk/arch/mips/mm/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ void __update_cache(struct vm_area_struct *vma, unsigned long address,
}
}

#define __weak __attribute__((weak))

static char cache_panic[] __initdata = "Yeee, unsupported cache architecture.";

void __init cpu_cache_init(void)
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/hfs/hfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@

/*======== HFS structures as they appear on the disk ========*/

#define __packed __attribute__ ((packed))

/* Pascal-style string of up to 31 characters */
struct hfs_name {
u8 len;
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/hfsplus/hfsplus_raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

#include <linux/types.h>

#define __packed __attribute__ ((packed))

/* Some constants */
#define HFSPLUS_SECTOR_SIZE 512
#define HFSPLUS_SECTOR_SHIFT 9
Expand Down
7 changes: 7 additions & 0 deletions trunk/include/linux/compiler-gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
#define __inline__ __inline__ __attribute__((always_inline))
#define __inline __inline __attribute__((always_inline))
#define __deprecated __attribute__((deprecated))
#define __packed __attribute__((packed))
#define __weak __attribute__((weak))
#define __naked __attribute__((naked))
#define __noreturn __attribute__((noreturn))
#define __pure __attribute__((pure))
#define __aligned(x) __attribute__((aligned(x)))
#define __printf(a,b) __attribute__((format(printf,a,b)))
#define noinline __attribute__((noinline))
#define __attribute_pure__ __attribute__((pure))
#define __attribute_const__ __attribute__((__const__))

0 comments on commit 8997c7b

Please sign in to comment.