Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139879
b: refs/heads/master
c: d75de08
h: refs/heads/master
i:
  139877: ee6c393
  139875: e7dc0c0
  139871: 22bcb87
v: v3
  • Loading branch information
Maxime Bizon authored and Nicolas Pitre committed Mar 29, 2009
1 parent 6babb8a commit ebd36b1
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 47 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: 8f6aef924d6d83f67e74ca5edc98957867c50ce9
refs/heads/master: d75de08727018659cd7e060cf0018eaf53e49aaf
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-gemini/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static inline void arch_idle(void)
cpu_do_idle();
}

static inline void arch_reset(char mode, const char *cmd)
static inline void arch_reset(char mode)
{
__raw_writel(RESET_GLOBAL | RESET_CPU1,
IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mmp/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static inline void arch_idle(void)
cpu_do_idle();
}

static inline void arch_reset(char mode, const char *cmd)
static inline void arch_reset(char mode)
{
cpu_reset(0);
}
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/mm/cache-feroceon-l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ static inline void l2_inv_pa_range(unsigned long start, unsigned long end)
raw_local_irq_restore(flags);
}

static inline void l2_inv_all(void)
{
__asm__("mcr p15, 1, %0, c15, c11, 0" : : "r" (0));
}

/*
* Linux primitives.
Expand Down Expand Up @@ -321,6 +325,7 @@ static void __init enable_l2(void)

d = flush_and_disable_dcache();
i = invalidate_and_disable_icache();
l2_inv_all();
write_extra_features(u | 0x00400000);
if (i)
enable_icache();
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/sh/maple/maple.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ static struct maple_driver maple_unsupported_device = {
.bus = &maple_bus_type,
},
};
/*
/**
* maple_bus_type - core maple bus structure
*/
struct bus_type maple_bus_type = {
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
#include <linux/cache.h>
#include <linux/spinlock.h>
#include <linux/cpumask.h>
#include <linux/gfp.h>
#include <linux/irqreturn.h>
#include <linux/irqnr.h>
#include <linux/errno.h>
#include <linux/topology.h>

#include <asm/irq.h>
#include <asm/ptrace.h>
Expand Down
15 changes: 7 additions & 8 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3190,7 +3190,7 @@ static int move_one_task(struct rq *this_rq, int this_cpu, struct rq *busiest,
return 0;
}
/********** Helpers for find_busiest_group ************************/
/*
/**
* sd_lb_stats - Structure to store the statistics of a sched_domain
* during load balancing.
*/
Expand Down Expand Up @@ -3222,7 +3222,7 @@ struct sd_lb_stats {
#endif
};

/*
/**
* sg_lb_stats - stats of a sched_group required for load_balancing
*/
struct sg_lb_stats {
Expand Down Expand Up @@ -3360,17 +3360,16 @@ static inline void update_sd_power_savings_stats(struct sched_group *group,
}

/**
* check_power_save_busiest_group - see if there is potential for some power-savings balance
* check_power_save_busiest_group - Check if we have potential to perform
* some power-savings balance. If yes, set the busiest group to be
* the least loaded group in the sched_domain, so that it's CPUs can
* be put to idle.
*
* @sds: Variable containing the statistics of the sched_domain
* under consideration.
* @this_cpu: Cpu at which we're currently performing load-balancing.
* @imbalance: Variable to store the imbalance.
*
* Description:
* Check if we have potential to perform some power-savings balance.
* If yes, set the busiest group to be the least loaded group in the
* sched_domain, so that it's CPUs can be put to idle.
*
* Returns 1 if there is potential to perform power-savings balance.
* Else returns 0.
*/
Expand Down
54 changes: 21 additions & 33 deletions trunk/usr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -46,50 +46,49 @@ config INITRAMFS_ROOT_GID
If you are not sure, leave it set to "0".

config RD_GZIP
bool "Support initial ramdisks compressed using gzip" if EMBEDDED
bool "Initial ramdisk compressed using gzip"
default y
depends on BLK_DEV_INITRD
depends on BLK_DEV_INITRD=y
select DECOMPRESS_GZIP
help
Support loading of a gzip encoded initial ramdisk or cpio buffer.
If unsure, say Y.

config RD_BZIP2
bool "Support initial ramdisks compressed using bzip2" if EMBEDDED
default !EMBEDDED
depends on BLK_DEV_INITRD
bool "Initial ramdisk compressed using bzip2"
default n
depends on BLK_DEV_INITRD=y
select DECOMPRESS_BZIP2
help
Support loading of a bzip2 encoded initial ramdisk or cpio buffer
If unsure, say N.

config RD_LZMA
bool "Support initial ramdisks compressed using LZMA" if EMBEDDED
default !EMBEDDED
depends on BLK_DEV_INITRD
bool "Initial ramdisk compressed using lzma"
default n
depends on BLK_DEV_INITRD=y
select DECOMPRESS_LZMA
help
Support loading of a LZMA encoded initial ramdisk or cpio buffer
Support loading of a lzma encoded initial ramdisk or cpio buffer
If unsure, say N.

if INITRAMFS_SOURCE!=""

choice
prompt "Built-in initramfs compression mode"
help
This option decides by which algorithm the builtin initramfs
will be compressed. Several compression algorithms are
available, which differ in efficiency, compression and
decompression speed. Compression speed is only relevant
when building a kernel. Decompression speed is relevant at
each boot.

If you have any problems with bzip2 or LZMA compressed
This setting is only meaningful if the INITRAMFS_SOURCE is
set. It decides by which algorithm the INITRAMFS_SOURCE will
be compressed.
Several compression algorithms are available, which differ
in efficiency, compression and decompression speed.
Compression speed is only relevant when building a kernel.
Decompression speed is relevant at each boot.

If you have any problems with bzip2 or lzma compressed
initramfs, mail me (Alain Knaff) <alain@knaff.lu>.

High compression options are mostly useful for users who are
low on RAM, since it reduces the memory consumption during
boot.
High compression options are mostly useful for users who
are low on disk space (embedded systems), but for whom ram
size matters less.

If in doubt, select 'gzip'

Expand Down Expand Up @@ -134,14 +133,3 @@ config INITRAMFS_COMPRESSION_LZMA
smaller with LZMA in comparison to gzip.

endchoice

endif

if INITRAMFS_SOURCE=""
# The builtin initramfs is so small so we don't want to bug the user...

config INITRAMFS_COMPRESSION_NONE
bool
default y

endif

0 comments on commit ebd36b1

Please sign in to comment.