1. 21 1月, 2011 1 次提交
    • D
      kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT · 6a108a14
      David Rientjes 提交于
      The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
      is used to configure any non-standard kernel with a much larger scope than
      only small devices.
      
      This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
      references to the option throughout the kernel.  A new CONFIG_EMBEDDED
      option is added that automatically selects CONFIG_EXPERT when enabled and
      can be used in the future to isolate options that should only be
      considered for embedded systems (RISC architectures, SLOB, etc).
      
      Calling the option "EXPERT" more accurately represents its intention: only
      expert users who understand the impact of the configuration changes they
      are making should enable it.
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NDavid Woodhouse <david.woodhouse@intel.com>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Greg KH <gregkh@suse.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Robin Holt <holt@sgi.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6a108a14
  2. 12 5月, 2009 1 次提交
    • A
      viocd: needs to depend on BLOCK · 05dc7b61
      Alexander Beregalov 提交于
      Fix this build error when CONFIG_BLOCK is not set:
      drivers/cdrom/viocd.c: In function 'viocd_blk_open':
      drivers/cdrom/viocd.c:156: error: dereferencing pointer to incomplete type
      drivers/cdrom/viocd.c: In function 'viocd_blk_release':
      drivers/cdrom/viocd.c:162: error: dereferencing pointer to incomplete type
      drivers/cdrom/viocd.c: In function 'viocd_blk_ioctl':
      drivers/cdrom/viocd.c:170: error: dereferencing pointer to incomplete type
      drivers/cdrom/viocd.c: In function 'viocd_blk_media_changed':
      drivers/cdrom/viocd.c:176: error: dereferencing pointer to incomplete type
      ...
      Signed-off-by: NAlexander Beregalov <a.beregalov@gmail.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      05dc7b61
  3. 11 3月, 2009 1 次提交
    • B
      powerpc/kconfig: Kill PPC_MULTIPLATFORM · 28794d34
      Benjamin Herrenschmidt 提交于
      CONFIG_PPC_MULTIPLATFORM is a remain of the pre-powerpc days and isn't
      really meaningful anymore. It was basically equivalent to PPC64 || 6xx.
      
      This removes it along with the following changes:
      
       - 32-bit platforms that relied on PPC32 && PPC_MULTIPLATFORM now rely
         on 6xx which is what they want anyway.
      
       - A new symbol, PPC_BOOK3S, is defined that represent compliance with
         the "Server" variant of the architecture. This is set when either 6xx
         or PPC64 is set and open the door for future BOOK3E 64-bit.
      
       - 64-bit platforms that relied on PPC64 && PPC_MULTIPLATFORM now use
         PPC64 && PPC_BOOK3S
      
       - A separate and selectable CONFIG_PPC_OF_BOOT_TRAMPOLINE option is now
         used to control the use of prom_init.c
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      28794d34
  4. 08 1月, 2009 1 次提交
  5. 21 12月, 2008 1 次提交
    • S
      powerpc/iseries: viodasd needs to depend on CONFIG_BLOCK · 5d84e4be
      Stephen Rothwell 提交于
      Otherwise you get lot of errors like these:
      
      drivers/block/viodasd.c:72: error: dereferencing pointer to incomplete type
      drivers/block/viodasd.c: In function 'viodasd_open':
      drivers/block/viodasd.c:135: error: dereferencing pointer to incomplete type
      drivers/block/viodasd.c: In function 'viodasd_release':
      drivers/block/viodasd.c:184: error: dereferencing pointer to incomplete type
      drivers/block/viodasd.c: In function 'viodasd_getgeo':
      drivers/block/viodasd.c:209: error: dereferencing pointer to incomplete type
      drivers/block/viodasd.c:214: error: implicit declaration of function 'get_capacity'
      drivers/block/viodasd.c: At top level:
      drivers/block/viodasd.c:222: error: variable 'viodasd_fops' has initializer but incomplete type
      drivers/block/viodasd.c:223: error: unknown field 'owner' specified in initializer
      
      Discovered by a randconfig build.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Acked-by: NJens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      5d84e4be
  6. 08 8月, 2008 1 次提交
  7. 17 7月, 2008 1 次提交
    • J
      powerpc: pci config cleanup · b500563b
      John Rigby 提交于
      Choosing PCI or not at config time is allowed on some
      platforms via an if expression in arch/powerpc/Kconfig.
      To add a new platform with PCI support selectable at
      config time, you must change the if expression.  This
      patch makes this easier by changing:
          bool "PCI support" if <long expression>
      to
          bool "PCI support" if PPC_PCI_CHOICE
      and adding select PPC_PCI_CHOICE to all the config nodes that
      were previously in the PCI if expression.
      
      Platforms with unconditional PCI support continue to
      just select PCI in their config nodes.
      Signed-off-by: NJohn Rigby <jrigby@freescale.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b500563b
  8. 09 5月, 2007 1 次提交
  9. 22 3月, 2007 1 次提交
  10. 20 12月, 2006 1 次提交
  11. 13 7月, 2006 1 次提交
  12. 26 9月, 2005 1 次提交
    • P
      powerpc: Merge enough to start building in arch/powerpc. · 14cf11af
      Paul Mackerras 提交于
      This creates the directory structure under arch/powerpc and a bunch
      of Kconfig files.  It does a first-cut merge of arch/powerpc/mm,
      arch/powerpc/lib and arch/powerpc/platforms/powermac.  This is enough
      to build a 32-bit powermac kernel with ARCH=powerpc.
      
      For now we are getting some unmerged files from arch/ppc/kernel and
      arch/ppc/syslib, or arch/ppc64/kernel.  This makes some minor changes
      to files in those directories and files outside arch/powerpc.
      
      The boot directory is still not merged.  That's going to be interesting.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      14cf11af