Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15272
b: refs/heads/master
c: a9c9dff
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Dec 20, 2005
1 parent 8302b8b commit 1db4690
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 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: fd30fc3256824f03c2ff9317269d66f72f7042ca
refs/heads/master: a9c9dff1bc64750c81ee99779164d304c35d2ff3
5 changes: 0 additions & 5 deletions trunk/arch/sparc64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ CC := $(shell if $(CC) -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then
NEW_GCC := $(call cc-option-yn, -m64 -mcmodel=medlow)
NEW_GAS := $(shell if $(LD) -V 2>&1 | grep 'elf64_sparc' > /dev/null; then echo y; else echo n; fi)
UNDECLARED_REGS := $(shell if $(CC) -c -x assembler /dev/null -Wa,--help | grep undeclared-regs > /dev/null; then echo y; else echo n; fi; )
INLINE_LIMIT := $(call cc-option-yn, -m64 -finline-limit=100000)

export NEW_GCC

Expand Down Expand Up @@ -49,10 +48,6 @@ else
AFLAGS += -m64 -mcpu=ultrasparc $(CC_UNDECL)
endif

ifeq ($(INLINE_LIMIT),y)
CFLAGS := $(CFLAGS) -finline-limit=100000
endif

ifeq ($(CONFIG_MCOUNT),y)
CFLAGS := $(CFLAGS) -pg
endif
Expand Down
8 changes: 2 additions & 6 deletions trunk/fs/relayfs/relay.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ size_t relay_switch_subbuf(struct rchan_buf *buf, size_t length)
return length;

toobig:
buf->chan->last_toobig = length;
printk(KERN_WARNING "relayfs: event too large (%Zd)\n", length);
WARN_ON(1);
return 0;
}

Expand Down Expand Up @@ -398,11 +399,6 @@ void relay_close(struct rchan *chan)
relay_close_buf(chan->buf[i]);
}

if (chan->last_toobig)
printk(KERN_WARNING "relayfs: one or more items not logged "
"[item size (%Zd) > sub-buffer size (%Zd)]\n",
chan->last_toobig, chan->subbuf_size);

kref_put(&chan->kref, relay_destroy_channel);
}

Expand Down
5 changes: 2 additions & 3 deletions trunk/include/linux/relayfs_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
#include <linux/kref.h>

/*
* Tracks changes to rchan/rchan_buf structs
* Tracks changes to rchan_buf struct
*/
#define RELAYFS_CHANNEL_VERSION 6
#define RELAYFS_CHANNEL_VERSION 5

/*
* Per-cpu relay channel buffer
Expand Down Expand Up @@ -60,7 +60,6 @@ struct rchan
struct rchan_callbacks *cb; /* client callbacks */
struct kref kref; /* channel refcount */
void *private_data; /* for user-defined data */
size_t last_toobig; /* tried to log event > subbuf size */
struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */
};

Expand Down
1 change: 0 additions & 1 deletion trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (Look out for broken compilers!)"
default y
depends on ARM || H8300 || EXPERIMENTAL
depends on !SPARC64
help
Enabling this option will pass "-Os" instead of "-O2" to gcc
resulting in a smaller kernel.
Expand Down

0 comments on commit 1db4690

Please sign in to comment.